<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic extract host by applying filter for os by api in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/extract-host-by-applying-filter-for-os-by-api/m-p/111713#M594</link>
    <description>&lt;P&gt;need to extract the details of some host of one OS using API, how can this be done?&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2020 17:54:54 GMT</pubDate>
    <dc:creator>mahima_goel</dc:creator>
    <dc:date>2020-04-22T17:54:54Z</dc:date>
    <item>
      <title>extract host by applying filter for os by api</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/extract-host-by-applying-filter-for-os-by-api/m-p/111713#M594</link>
      <description>&lt;P&gt;need to extract the details of some host of one OS using API, how can this be done?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 17:54:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/extract-host-by-applying-filter-for-os-by-api/m-p/111713#M594</guid>
      <dc:creator>mahima_goel</dc:creator>
      <dc:date>2020-04-22T17:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: extract host by applying filter for os by api</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/extract-host-by-applying-filter-for-os-by-api/m-p/111714#M595</link>
      <description>&lt;P&gt;You can either extract all hosts and filter after the fact, or create an OS tag and use that with the hosts OpenAPI endpoint to grab them.  I did it in my Environment API page and the resulting curl looks like this:&lt;/P&gt;&lt;P&gt;curl -X GET "https://xxxxxxxx.live.dynatrace.com/api/v1/entity/infrastructure/hosts?tag=%5BCONTEXTLESS%5Dos%3AWindows%2010%20Pro%201909%2C%20ver.%2010.0.18362&amp;amp;includeDetails=true" -H "accept: application/json; charset=utf-8" -H "Authorization: Api-Token xxxxxxxx"&lt;/P&gt;&lt;P&gt;Note that I am using the full operating system.  You could also set your tag to just "Windows" or "Linux" as you wish...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 20:13:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/extract-host-by-applying-filter-for-os-by-api/m-p/111714#M595</guid>
      <dc:creator>dave_mauney</dc:creator>
      <dc:date>2020-04-22T20:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: extract host by applying filter for os by api</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/extract-host-by-applying-filter-for-os-by-api/m-p/111715#M596</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.dynatrace.com/users/3212/view.html" nodeid="3212"&gt;@Dave M.&lt;/A&gt; saves the day once again! &lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 20:27:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/extract-host-by-applying-filter-for-os-by-api/m-p/111715#M596</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2020-04-22T20:27:22Z</dc:date>
    </item>
  </channel>
</rss>

