<?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 Tags being set by a script appear as a manual tag, which means these tags can be deleted by users in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Tags-being-set-by-a-script-appear-as-a-manual-tag-which-means/m-p/300826#M39184</link>
    <description>&lt;P&gt;We are not setting manual tags, we are setting tags in an automated way via scripting but they appear as manual tags in DT.&amp;nbsp; So this means that our users can delete these manual tags.&lt;/P&gt;&lt;P&gt;Is there a workarround to prevent the deletion of these manual tags being set by scripts?&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jun 2026 13:15:34 GMT</pubDate>
    <dc:creator>JannickDT_CM</dc:creator>
    <dc:date>2026-06-16T13:15:34Z</dc:date>
    <item>
      <title>Tags being set by a script appear as a manual tag, which means these tags can be deleted by users</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Tags-being-set-by-a-script-appear-as-a-manual-tag-which-means/m-p/300826#M39184</link>
      <description>&lt;P&gt;We are not setting manual tags, we are setting tags in an automated way via scripting but they appear as manual tags in DT.&amp;nbsp; So this means that our users can delete these manual tags.&lt;/P&gt;&lt;P&gt;Is there a workarround to prevent the deletion of these manual tags being set by scripts?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2026 13:15:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Tags-being-set-by-a-script-appear-as-a-manual-tag-which-means/m-p/300826#M39184</guid>
      <dc:creator>JannickDT_CM</dc:creator>
      <dc:date>2026-06-16T13:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Tags being set by a script appear as a manual tag, which means these tags can be deleted by users</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Tags-being-set-by-a-script-appear-as-a-manual-tag-which-means/m-p/300847#M39185</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you check &lt;A title="Primary Grail fields and tags" href="https://docs.dynatrace.com/docs/shortlink/primary-tags" target="_blank" rel="noopener"&gt;Primary Grail fields and tags&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2026 15:30:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Tags-being-set-by-a-script-appear-as-a-manual-tag-which-means/m-p/300847#M39185</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2026-06-16T15:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Tags being set by a script appear as a manual tag, which means these tags can be deleted by users</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Tags-being-set-by-a-script-appear-as-a-manual-tag-which-means/m-p/300854#M39186</link>
      <description>&lt;P&gt;In Dynatrace Classic, you have:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;auto-tags, where you manage the rules, and Dynatrace tags the entities&lt;/LI&gt;&lt;LI&gt;manual tags that you set manually in the UI or using API -&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/api-custom-tags-post" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/api-custom-tags-post&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;tags that you set using the environment variable &lt;A href="https://docs.dynatrace.com/docs/shortlink/tagging-environment-variable" target="_blank"&gt;DT_TAGS&lt;/A&gt;&amp;nbsp;(applies to process) or &lt;A href="https://docs.dynatrace.com/docs/shortlink/tagging-hostautotag" target="_blank"&gt;OneAgent&lt;/A&gt;&amp;nbsp;(only applies to host)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In Dynatrace Gen3 you have:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;tags that you set using the environment variable &lt;A href="https://docs.dynatrace.com/docs/shortlink/tagging-environment-variable" target="_blank"&gt;DT_TAGS&lt;/A&gt;&amp;nbsp;(applies to process) or &lt;A href="https://docs.dynatrace.com/docs/shortlink/tagging-hostautotag" target="_blank"&gt;OneAgent&lt;/A&gt;&amp;nbsp;(only applies to host)&lt;/LI&gt;&lt;LI&gt;primary grail tags (grail fields named primary_tags.&amp;lt;tag&amp;gt; for every signal emitted from the source) and also primary fields.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Based on your question, I'm assuming you use the API approach to tag the entities. If you are on Dynatrace SaaS, I suggest&amp;nbsp;&lt;SPAN&gt;changing the approach to the&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/primary-tags" target="_blank" rel="noopener"&gt;primary_grail tags&lt;/A&gt;&amp;nbsp;and maybe also tagging&amp;nbsp;&lt;/SPAN&gt;with DT_TAGS / OneAgent if it fits your case (basically entity types).&amp;nbsp; Manual and automatic tagging will be eventually removed in SaaS, AFAIK tags set using DT_TAGS and OneAgent will not be removed.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Dynatrace Managed has the same tagging functionality as Dynatrace Classic and there are no changes planned.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2026 20:06:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Tags-being-set-by-a-script-appear-as-a-manual-tag-which-means/m-p/300854#M39186</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2026-06-16T20:06:22Z</dc:date>
    </item>
  </channel>
</rss>

