<?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 Filter only active hosts, processes, services and applications using entitySelector in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Filter-only-active-hosts-processes-services-and-applications/m-p/283155#M37262</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I want to create a management zone for my Windows hosts which shows only active Windows hosts (there are connected Linux hosts, but&amp;nbsp; I don't want showing Linux hosts only Windows hosts), active processes, active services and active applications. How can I write an entitySelector for this task? And where I can find entitySelector syntax tutorial, examples or full documentation about entitySelector?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Huseyn N.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Aug 2025 08:44:04 GMT</pubDate>
    <dc:creator>HuseynNajafli</dc:creator>
    <dc:date>2025-08-06T08:44:04Z</dc:date>
    <item>
      <title>Filter only active hosts, processes, services and applications using entitySelector</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Filter-only-active-hosts-processes-services-and-applications/m-p/283155#M37262</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I want to create a management zone for my Windows hosts which shows only active Windows hosts (there are connected Linux hosts, but&amp;nbsp; I don't want showing Linux hosts only Windows hosts), active processes, active services and active applications. How can I write an entitySelector for this task? And where I can find entitySelector syntax tutorial, examples or full documentation about entitySelector?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Huseyn N.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 08:44:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Filter-only-active-hosts-processes-services-and-applications/m-p/283155#M37262</guid>
      <dc:creator>HuseynNajafli</dc:creator>
      <dc:date>2025-08-06T08:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filter only active hosts, processes, services and applications using entitySelector</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Filter-only-active-hosts-processes-services-and-applications/m-p/283158#M37264</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would say using automatic tagging rules for "mark" those hosts, processes, services, etc...&lt;/P&gt;&lt;P&gt;And later, create a management zone filtering by that tag.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 09:17:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Filter-only-active-hosts-processes-services-and-applications/m-p/283158#M37264</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-08-06T09:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Filter only active hosts, processes, services and applications using entitySelector</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Filter-only-active-hosts-processes-services-and-applications/m-p/283160#M37265</link>
      <description>&lt;P&gt;I did it. I created a management zone but i didn't apply filter to only active service, processes or hosts. I wrote these entitySelectors:&lt;/P&gt;&lt;P&gt;For Applications:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type("APPLICATION"),fromRelationship.calls(type("SERVICE"),fromRelationship.runsOnHost(type("HOST"),osType("WINDOWS")))&lt;/LI-CODE&gt;&lt;P&gt;For Services:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type("SERVICE"),fromRelationship.runsOnHost(type("host"),osType("WINDOWS"))&lt;/LI-CODE&gt;&lt;P&gt;For Processes:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type("PROCESS_GROUP_INSTANCE"),fromRelationships.isProcessOf(type("HOST"),osType("WINDOWS"))&lt;/LI-CODE&gt;&lt;P&gt;For Hosts:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type("HOST"), osType("WINDOWS")&lt;/LI-CODE&gt;&lt;P&gt;But these shows active and inactive everything. I want to show only active things.&lt;/P&gt;&lt;P&gt;How can I write entitySelector as I want?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 10:31:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Filter-only-active-hosts-processes-services-and-applications/m-p/283160#M37265</guid>
      <dc:creator>HuseynNajafli</dc:creator>
      <dc:date>2025-08-06T10:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Filter only active hosts, processes, services and applications using entitySelector</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Filter-only-active-hosts-processes-services-and-applications/m-p/283185#M37271</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/93912"&gt;@HuseynNajafli&lt;/a&gt;You cannot select just active entities with entitySelector. Other APIs or functionality which uses Entity Selector does that. You can only filter on firstSeenTms, unfortunately, not on the lastSeenTms.&lt;BR /&gt;&lt;BR /&gt;Docs for entity selector are here:&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/api-entities-v2-selector" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/api-entities-v2-selector&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 14:13:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Filter-only-active-hosts-processes-services-and-applications/m-p/283185#M37271</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-08-06T14:13:10Z</dc:date>
    </item>
  </channel>
</rss>

