<?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 Re: is it possible to mention host group name in auto-tag ENTITY_ID value? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/is-it-possible-to-mention-host-group-name-in-auto-tag-ENTITY-ID/m-p/164576#M16482</link>
    <description>&lt;P&gt;Entity ID should be left blank when creating a new auto tag rule as dynatrace will assign its own ID for the rule. If you are looking to get the entity ID of a Host Group, then you'll need to click on one of the hosts and the Host Group its associated with. From there the Host Group ID is in your URL:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChadTurner_0-1618834179716.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/657i411E4347E9221088/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChadTurner_0-1618834179716.png" alt="ChadTurner_0-1618834179716.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Apr 2021 12:09:51 GMT</pubDate>
    <dc:creator>ChadTurner</dc:creator>
    <dc:date>2021-04-19T12:09:51Z</dc:date>
    <item>
      <title>is it possible to mention host group name in auto-tag ENTITY_ID value?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/is-it-possible-to-mention-host-group-name-in-auto-tag-ENTITY-ID/m-p/164462#M16459</link>
      <description>&lt;P&gt;I am deploying auto-tag configuration like below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "description": null,
    "name": "{{.name}}",
    "rules": [
        {
            "conditions": [
                {
                    "comparisonInfo": {
                        "negate": false,
                        "operator": "EQUALS",
                        "type": "ENTITY_ID",
                        "value": "HOST_GROUP-EFEB49"
                    },
                    "key": {
                        "attribute": "HOST_GROUP_ID"
                    }
                }
            ],
            "enabled": true,
            "propagationTypes": [
                "PROCESS_GROUP_TO_SERVICE"
            ],
            "type": "PROCESS_GROUP",
            "valueFormat": "{HostGroup:Name}"
        }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is there a way to specify the name itself instead of meId.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 11:15:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/is-it-possible-to-mention-host-group-name-in-auto-tag-ENTITY-ID/m-p/164462#M16459</guid>
      <dc:creator>nakb</dc:creator>
      <dc:date>2021-11-22T11:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to mention host group name in auto-tag ENTITY_ID value?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/is-it-possible-to-mention-host-group-name-in-auto-tag-ENTITY-ID/m-p/164519#M16466</link>
      <description>&lt;P&gt;Yes you can! I recommend doing it from the UI then pulling the Json of that rule. If I understand your question correctly, you would like to capture the Host Group, Dynamically, and set it as a tag, but only for entities assigned to a specific host group.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will need to do the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChadTurner_0-1618575144452.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/653iD2FAC923D359769E/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChadTurner_0-1618575144452.png" alt="ChadTurner_0-1618575144452.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Create a new Auto Tag rule and name it Host Group. Then add a rule for the host, process, or service, or all of them. and in the tag value you will put {HostGroup:Name}. This will grab the Host Group Value for the entity and put it into a tag. Then select what the rule applies to, and then isolate (if needed) the Host Group and such, and then set conditions. This will allow you to Narrow down the scope even more for the rule. If the Host Group Name Starts with or contains Easy Travel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Click Preview and ensure that your desired entity shows up and then create and save the rule. then you're done. Then you can pull the rule via the API and use it as a template.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 12:16:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/is-it-possible-to-mention-host-group-name-in-auto-tag-ENTITY-ID/m-p/164519#M16466</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2021-04-16T12:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to mention host group name in auto-tag ENTITY_ID value?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/is-it-possible-to-mention-host-group-name-in-auto-tag-ENTITY-ID/m-p/164573#M16480</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/14877"&gt;@ChadTurner&lt;/a&gt; I am using json configuration to create tags using monaco so is there a way to specify name in ENTITY_ID because finding out host group id is difficult everytime&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"type": ENTITY_ID&lt;/P&gt;&lt;P&gt;"value": host group name&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 11:57:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/is-it-possible-to-mention-host-group-name-in-auto-tag-ENTITY-ID/m-p/164573#M16480</guid>
      <dc:creator>nakb</dc:creator>
      <dc:date>2021-04-19T11:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to mention host group name in auto-tag ENTITY_ID value?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/is-it-possible-to-mention-host-group-name-in-auto-tag-ENTITY-ID/m-p/164576#M16482</link>
      <description>&lt;P&gt;Entity ID should be left blank when creating a new auto tag rule as dynatrace will assign its own ID for the rule. If you are looking to get the entity ID of a Host Group, then you'll need to click on one of the hosts and the Host Group its associated with. From there the Host Group ID is in your URL:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChadTurner_0-1618834179716.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/657i411E4347E9221088/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChadTurner_0-1618834179716.png" alt="ChadTurner_0-1618834179716.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 12:09:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/is-it-possible-to-mention-host-group-name-in-auto-tag-ENTITY-ID/m-p/164576#M16482</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2021-04-19T12:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to mention host group name in auto-tag ENTITY_ID value?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/is-it-possible-to-mention-host-group-name-in-auto-tag-ENTITY-ID/m-p/165058#M16656</link>
      <description>&lt;P&gt;Thanks for the clarification.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 08:50:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/is-it-possible-to-mention-host-group-name-in-auto-tag-ENTITY-ID/m-p/165058#M16656</guid>
      <dc:creator>nakb</dc:creator>
      <dc:date>2021-04-28T08:50:19Z</dc:date>
    </item>
  </channel>
</rss>

