# Automatic Tagging Rules - Entity Selector, targeting Host, Service & Process in 1 rule.

**URL:** <https://community.dynatrace.com/t/automatic-tagging-rules-entity-selector-targeting-host-service-process-in-1-rule/45053>\
**Category:** Open Q&A\
**Tags:** tagging, entity-selector\
**Created:** [April 8, 2024, 11:01pm UTC](https://community.dynatrace.com/t/automatic-tagging-rules-entity-selector-targeting-host-service-process-in-1-rule/45053 "2024-04-08T23:01:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jordan\_Mac](https://avatars.discourse-cdn.com/v4/letter/j/54ee81/32.png) [@Jordan\_Mac](https://community.dynatrace.com/u/Jordan_Mac)\
**Post date:** [April 8, 2024, 11:01pm UTC](https://community.dynatrace.com/t/automatic-tagging-rules-entity-selector-targeting-host-service-process-in-1-rule/45053/1 "2024-04-08T23:01:51Z")

</div>

I want to populate tags across vertical service stack, where a service and all of its processes and the host are tagged with the same tag-value.

At the moment it appears that I need to set up 4 rules:

- One for the Service.
- One for the Process group
- One for the Process Instance
- One for the Host.

Is there a way I can target multiple levels with a single rule, or is this not posible?

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [April 9, 2024, 6:56am UTC](https://community.dynatrace.com/t/automatic-tagging-rules-entity-selector-targeting-host-service-process-in-1-rule/45053/2 "2024-04-09T06:56:45Z")

</div>

Hi,

I like creating an automatic tag rule base on processes and enable those two flags:

 ![AntonPineiro_0-1712645753515.png](https://global.discourse-cdn.com/dynatrace/original/2X/8/8e5aa76e82b27e213e095f9351dd32e3cee42647.png)

Then, same tag would be applied to hosts + services matching your condition (and process group as well).

Best regards

---

<div class="post-metadata">

**Author:** ![Kenny\_Gillette](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/kenny_gillette/32/20170_2.png) [@Kenny\_Gillette](https://community.dynatrace.com/u/Kenny_Gillette)\
**Post date:** [April 9, 2024, 1:30pm UTC](https://community.dynatrace.com/t/automatic-tagging-rules-entity-selector-targeting-host-service-process-in-1-rule/45053/3 "2024-04-09T13:30:04Z")

</div>

Hi,

yes you can setup automated tags

In my tips:

[https://community.dynatrace.com/t5/Dynatrace-tips/Pro-Tips-My-summary-of-great-tips/m-p/203346#M733](https://community.dynatrace.com/post/203346#M733)

- Much watch Community Tips & Tricks (also on YouTube)&nbsp;[Loading](https://university.dynatrace.com/ondemand/course/21409?content=content&section=35351)&nbsp;&nbsp;–&nbsp; **watch all of them** &nbsp;(PowerPoint is in Dynatrace university, not YouTube)

**Favorites:**

Episode 3: Advanced Tagging to create a Dynamic Management Zone
