Good afternoon everyone,
I’m looking for some help with a Dynatrace configuration related to environment organization and application-based Segments.
Our goal is to organize our environment by application. We currently have around 4 applications, with multiple servers belonging to each application.
We were advised to follow this approach:
Step 1 – Set the Host Group on existing servers
The servers already have the appropriate Host Groups configured.
Step 2 – Configure Ingest Enrichment
The suggested approach is to create a rule under:
Settings → Collect and capture → Ingest enrichment configuration
For example:
- Match: Host Group = APP-ACH-PROD
- Map to: primary_tags.application
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.
Step 3 – Build Segments using primary_tags.application
The Segments would then be based on the primary_tags values instead of configuring each server individually.
However, I’m having difficulty understanding exactly how Step 2 should be configured, especially the Ingest Enrichment rule and the correct mapping to primary_tags.application.
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.
Our main objective is to segment the environment by application without having to manually configure every server or run commands individually. 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.
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?
Even a screenshot or a simple example of the configuration would be extremely helpful.
Thank you very much in advance for any help! ![]()












