<?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 HELP: How Can I Automatically Organize Applications into Segments Using Host Groups? in Dynatrace tips</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-tips/HELP-How-Can-I-Automatically-Organize-Applications-into-Segments/m-p/304510#M2169</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Good afternoon everyone,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I’m looking for some help with a Dynatrace configuration related to &lt;STRONG&gt;environment organization and application-based Segments&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Our goal is to organize our environment by application. We currently have around &lt;STRONG&gt;4 applications&lt;/STRONG&gt;, with multiple servers belonging to each application.&lt;/P&gt;&lt;P&gt;We were advised to follow this approach:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 1 – Set the Host Group on existing servers&lt;/STRONG&gt;&lt;BR /&gt;The servers already have the appropriate Host Groups configured.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 2 – Configure Ingest Enrichment&lt;/STRONG&gt;&lt;BR /&gt;The suggested approach is to create a rule under:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Settings → Collect and capture → Ingest enrichment configuration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Match:&lt;/STRONG&gt; Host Group = APP-ACH-PROD&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Map to:&lt;/STRONG&gt; primary_tags.application&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The idea is that this central mapping would allow current and future servers belonging to that Host Group to inherit the corresponding application tag automatically.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 3 – Build Segments using primary_tags.application&lt;/STRONG&gt;&lt;BR /&gt;The Segments would then be based on the primary_tags values instead of configuring each server individually.&lt;/P&gt;&lt;P&gt;However, I’m having difficulty understanding &lt;STRONG&gt;exactly how Step 2 should be configured&lt;/STRONG&gt;, especially the Ingest Enrichment rule and the correct mapping to primary_tags.application.&lt;/P&gt;&lt;P&gt;We have already been working with Support for several days, but we still haven't been able to get a clear example that works for our use case.&lt;/P&gt;&lt;P&gt;Our main objective is to &lt;STRONG&gt;segment the environment by application without having to manually configure every server or run commands individually&lt;/STRONG&gt;. With Management Zones, this was much easier for us, so we are trying to achieve a similar centralized organization using the current Grail/Segments approach.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If anyone has already implemented Host Group → Ingest Enrichment → primary_tags.application → Segments, could you please share an example of how you configured the rule?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Even a screenshot or a simple example of the configuration would be extremely helpful.&lt;/P&gt;&lt;P&gt;Thank you very much in advance for any help! &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Sep 2026 21:00:35 GMT</pubDate>
    <dc:creator>NicoleMT</dc:creator>
    <dc:date>2026-09-17T21:00:35Z</dc:date>
    <item>
      <title>HELP: How Can I Automatically Organize Applications into Segments Using Host Groups?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/HELP-How-Can-I-Automatically-Organize-Applications-into-Segments/m-p/304510#M2169</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Good afternoon everyone,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I’m looking for some help with a Dynatrace configuration related to &lt;STRONG&gt;environment organization and application-based Segments&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Our goal is to organize our environment by application. We currently have around &lt;STRONG&gt;4 applications&lt;/STRONG&gt;, with multiple servers belonging to each application.&lt;/P&gt;&lt;P&gt;We were advised to follow this approach:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 1 – Set the Host Group on existing servers&lt;/STRONG&gt;&lt;BR /&gt;The servers already have the appropriate Host Groups configured.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 2 – Configure Ingest Enrichment&lt;/STRONG&gt;&lt;BR /&gt;The suggested approach is to create a rule under:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Settings → Collect and capture → Ingest enrichment configuration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Match:&lt;/STRONG&gt; Host Group = APP-ACH-PROD&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Map to:&lt;/STRONG&gt; primary_tags.application&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The idea is that this central mapping would allow current and future servers belonging to that Host Group to inherit the corresponding application tag automatically.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 3 – Build Segments using primary_tags.application&lt;/STRONG&gt;&lt;BR /&gt;The Segments would then be based on the primary_tags values instead of configuring each server individually.&lt;/P&gt;&lt;P&gt;However, I’m having difficulty understanding &lt;STRONG&gt;exactly how Step 2 should be configured&lt;/STRONG&gt;, especially the Ingest Enrichment rule and the correct mapping to primary_tags.application.&lt;/P&gt;&lt;P&gt;We have already been working with Support for several days, but we still haven't been able to get a clear example that works for our use case.&lt;/P&gt;&lt;P&gt;Our main objective is to &lt;STRONG&gt;segment the environment by application without having to manually configure every server or run commands individually&lt;/STRONG&gt;. With Management Zones, this was much easier for us, so we are trying to achieve a similar centralized organization using the current Grail/Segments approach.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If anyone has already implemented Host Group → Ingest Enrichment → primary_tags.application → Segments, could you please share an example of how you configured the rule?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Even a screenshot or a simple example of the configuration would be extremely helpful.&lt;/P&gt;&lt;P&gt;Thank you very much in advance for any help! &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2026 21:00:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/HELP-How-Can-I-Automatically-Organize-Applications-into-Segments/m-p/304510#M2169</guid>
      <dc:creator>NicoleMT</dc:creator>
      <dc:date>2026-09-17T21:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: HELP: How Can I Automatically Organize Applications into Segments Using Host Groups?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/HELP-How-Can-I-Automatically-Organize-Applications-into-Segments/m-p/304520#M2170</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/85361"&gt;@NicoleMT&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have completed the entire setup in my lab environment. Please see the details below:&lt;/P&gt;&lt;P&gt;As you have already created the Host Group, the first step is complete. In my test environment, I created a Host Group named Dev-Linux, and the host is successfully associated with it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sujit_k_singh_0-1789699861767.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/34272iCAC20D55E08D57A3/image-size/medium?v=v2&amp;amp;px=400" alt="sujit_k_singh_0-1789699861767.png" title="sujit_k_singh_0-1789699861767.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The next step is Ingest Enrichment. Here, you can map the Host Group to a Primary Tag. In my configuration:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Source attribute: dt.host_group.id&lt;/LI&gt;&lt;LI&gt;Target: Primary Tag&lt;/LI&gt;&lt;LI&gt;Primary tag key: application&lt;/LI&gt;&lt;LI&gt;Condition: matchesValue(dt.host_group.id, "Dev-Linux")&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This configuration automatically populates the Primary Tag with the Host Group value. The dt.host_group.id attribute resolves to the Host Group name and is mapped to primary_tags.application.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sujit_k_singh_1-1789699919176.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/34273i3F35FADD3B2FA529/image-size/large?v=v2&amp;amp;px=999" alt="sujit_k_singh_1-1789699919176.png" title="sujit_k_singh_1-1789699919176.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Finally, I configured the Segment using the Primary Tag created by the Ingest Enrichment rule. After the configuration was completed, I was able to see the Dev Linux segment under the Infrastructure &amp;amp; Operations application, and the host associated with the Dev-Linux Host Group was displayed within that segment even other components too like process, containers, logs etc&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sujit_k_singh_2-1789700029484.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/34274i676DD073C79FBF35/image-size/large?v=v2&amp;amp;px=999" alt="sujit_k_singh_2-1789700029484.png" title="sujit_k_singh_2-1789700029484.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now i can see segment under Infrastructure app&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sujit_k_singh_3-1789700160906.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/34275i5179938E46F33DCD/image-size/large?v=v2&amp;amp;px=999" alt="sujit_k_singh_3-1789700160906.png" title="sujit_k_singh_3-1789700160906.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sujit_k_singh_5-1789701030691.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/34277i30EC03AB4686C3ED/image-size/large?v=v2&amp;amp;px=999" alt="sujit_k_singh_5-1789701030691.png" title="sujit_k_singh_5-1789701030691.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2026 03:10:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/HELP-How-Can-I-Automatically-Organize-Applications-into-Segments/m-p/304520#M2170</guid>
      <dc:creator>sujit_k_singh</dc:creator>
      <dc:date>2026-09-18T03:10:55Z</dc:date>
    </item>
  </channel>
</rss>

