# Adding tag to all hosts at once

**URL:** <https://community.dynatrace.com/t/adding-tag-to-all-hosts-at-once/34602>\
**Category:** Open Q&A\
**Tags:** tagging\
**Created:** [March 24, 2022, 7:13am UTC](https://community.dynatrace.com/t/adding-tag-to-all-hosts-at-once/34602 "2022-03-24T07:13:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pranav1](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@Pranav1](https://community.dynatrace.com/u/Pranav1)\
**Post date:** [March 24, 2022, 7:13am UTC](https://community.dynatrace.com/t/adding-tag-to-all-hosts-at-once/34602/1 "2022-03-24T07:13:29Z")

</div>

We have a requirement to add a tag to the hosts , is there any way we can add the tag to all the hosts at once.

All the hosts are in the same environment.

---

<div class="post-metadata">

**Author:** ![imran\_khan](https://avatars.discourse-cdn.com/v4/letter/i/e8c25b/32.png) [@imran\_khan](https://community.dynatrace.com/u/imran_khan)\
**Post date:** [March 24, 2022, 8:00pm UTC](https://community.dynatrace.com/t/adding-tag-to-all-hosts-at-once/34602/2 "2022-03-24T20:00:56Z")

</div>

Hello,

Yes, you can create an automatic tagging rule to tag all hosts. You can also tag the processes and services all at the same time if that’s needed.&nbsp;[Define and apply tags — Dynatrace Docs](https://www.dynatrace.com/support/help/shortlink/tagging#how-to-define-an-automatically-applied-tag)&nbsp;  
Thanks,

Imran

 ![imran_khan_0-1648151970413.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/0/206184495734d7e39057ad7b9cc963fad7df3abd.png)
