# How can we tag hosts in Dynatrace manged

**URL:** <https://community.dynatrace.com/t/how-can-we-tag-hosts-in-dynatrace-manged/15567>\
**Category:** Open Q&A\
**Tags:** tagging, hosts-classic\
**Created:** [September 11, 2018, 6:30pm UTC](https://community.dynatrace.com/t/how-can-we-tag-hosts-in-dynatrace-manged/15567 "2018-09-11T18:30:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tarun\_agastya2](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@tarun\_agastya2](https://community.dynatrace.com/u/tarun_agastya2)\
**Post date:** [September 11, 2018, 6:30pm UTC](https://community.dynatrace.com/t/how-can-we-tag-hosts-in-dynatrace-manged/15567/1 "2018-09-11T18:30:27Z")

</div>

Hi,

I would like to tag host.Can someone help in understanding how can we manually do tagging.

Can we apply tagging while doing installation of agent?

/bin/sh Dynatrace-OneAgent-Linux-1.149.213.sh  
APP\_LOG\_CONTENT\_ACCESS=1INFRA\_ONLY=0 DT\_CUSTOM\_PROP= Billapplication

---

<div class="post-metadata">

**Author:** ![bobby\_crumley](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/bobby_crumley/32/9485_2.png) [@bobby\_crumley](https://community.dynatrace.com/u/bobby_crumley)\
**Post date:** [September 11, 2018, 6:42pm UTC](https://community.dynatrace.com/t/how-can-we-tag-hosts-in-dynatrace-manged/15567/2 "2018-09-11T18:42:22Z")

</div>

Hi Tarun -

To tag hosts in Managed, you need to be an administrator and go to “Tagging” within the Settings field. From there, you can set up rules for tagging automatically, or apply manual tagging. You can also add a tag from each host you look at from the “Host” tab on the left panel, and selecting your desired host. Take a look at the Tagging documentation here: [https://www.dynatrace.com/support/help/organize-mo…](https://www.dynatrace.com/support/help/organize-monitored-entities/tags-and-metadata/how-do-i-define-tags/)

Hope that helps!

Bob C.

---

<div class="post-metadata">

**Author:** ![JamesKitson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jameskitson/32/22460_2.png) [@JamesKitson](https://community.dynatrace.com/u/JamesKitson)\
**Post date:** [September 11, 2018, 8:17pm UTC](https://community.dynatrace.com/t/how-can-we-tag-hosts-in-dynatrace-manged/15567/3 "2018-09-11T20:17:41Z")

</div>

If you’re looking for something you can automate you can also use the [hostautotag.conf](https://www.dynatrace.com/support/help/infrastructure/hosts/how-do-i-define-tags-in-a-host-based-configuration-file/) file in the oneagent configuration or the [API](https://www.dynatrace.com/support/help/dynatrace-api/topology-and-smartscape/how-do-i-assign-a-tag-to-a-monitored-entity/).

James
