<?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: Use of placeholder for automatically applied tags (host names) in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/247286#M32599</link>
    <description>&lt;P&gt;Hi Justin&lt;/P&gt;&lt;P&gt;How to do tagging if 3rd last character of hostname in 3 or 5.,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;auszvrcuw333 - how to do regex if 3rd last character of hostname in 3 or 5, tagging it as staging.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sundar.v&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jun 2024 04:44:42 GMT</pubDate>
    <dc:creator>sundarv1</dc:creator>
    <dc:date>2024-06-04T04:44:42Z</dc:date>
    <item>
      <title>Use of placeholder for automatically applied tags (host names)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/126557#M15574</link>
      <description>&lt;P&gt;I have a problem with automatically applied tags. I guess it's a simple question, and yet I can't figure it out. We have a special name convention for our server names. The second digit of the host name means the stage in which the server is located (production, pre-procurement, etc.). Is it possible to create an automatically applied tag rule based on the hostname, depending on the value of the second digit of the host? &lt;BR /&gt;Example hostname: S45002134A (second character "4" means pre-production)&lt;BR /&gt;&lt;BR /&gt;To create the rule:&lt;/P&gt;
&lt;P&gt;- Rule applies to: "hosts"&lt;/P&gt;
&lt;P&gt;- Condition: "Hostname" "begins with" (or "contains")&lt;/P&gt;
&lt;P&gt;What needs to be entered in the field? I need kind of a placeholder for the first digit because the it changes based on other conditions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 09:41:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/126557#M15574</guid>
      <dc:creator>urs_fischer</dc:creator>
      <dc:date>2022-09-28T09:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Use of placeholder for automatically applied tags (host names)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/126558#M15575</link>
      <description>&lt;P&gt;I would try "contains regex" with ".4" as your condition.  You can set the "optional tag value" to "pre-production" for this example and replicate the rule for other environments.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Jan 2020 17:27:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/126558#M15575</guid>
      <dc:creator>dave_mauney</dc:creator>
      <dc:date>2020-01-09T17:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Use of placeholder for automatically applied tags (host names)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/126559#M15576</link>
      <description>&lt;P&gt;Rule applies to: "hosts"&lt;/P&gt;&lt;P&gt;Condition: "Host name" "contains regex"&lt;/P&gt;&lt;P&gt;Value: ^.{1}[4]&lt;/P&gt;&lt;P&gt;This might also work. It should match the second character of a string depending on what is in the square brackets. &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Jan 2020 17:35:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/126559#M15576</guid>
      <dc:creator>justin_hogue</dc:creator>
      <dc:date>2020-01-09T17:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use of placeholder for automatically applied tags (host names)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/126560#M15577</link>
      <description>&lt;P&gt;Thanks for your help. It looks like i have to read more about regex &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jan 2020 09:52:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/126560#M15577</guid>
      <dc:creator>urs_fischer</dc:creator>
      <dc:date>2020-01-10T09:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Use of placeholder for automatically applied tags (host names)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/126561#M15578</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.dynatrace.com/users/34599/view.html"&gt;@Urs F.&lt;/A&gt; Use this Regex link to test out Regex code. I used this when I was learning Regex to ensure the code was defined correctly.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://regex101.com/" target="_blank"&gt;Regex101&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/23140-regex.png" /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jan 2020 13:14:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/126561#M15578</guid>
      <dc:creator>ctturner</dc:creator>
      <dc:date>2020-01-10T13:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Use of placeholder for automatically applied tags (host names)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/247286#M32599</link>
      <description>&lt;P&gt;Hi Justin&lt;/P&gt;&lt;P&gt;How to do tagging if 3rd last character of hostname in 3 or 5.,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;auszvrcuw333 - how to do regex if 3rd last character of hostname in 3 or 5, tagging it as staging.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sundar.v&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 04:44:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/247286#M32599</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-06-04T04:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Use of placeholder for automatically applied tags (host names)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/247296#M32601</link>
      <description>&lt;P&gt;Hi.&lt;BR /&gt;For instance, you may confirm that it accepts and works as intended:&lt;BR /&gt;&lt;BR /&gt;[3|5]\d{2}$&lt;/P&gt;&lt;P&gt;given the following strings, it will only match the ones ending in digits, with 3 or 5 in the 3rd last place:&lt;BR /&gt;auszvrcuw33z&lt;BR /&gt;auszvrcuw333&lt;/P&gt;&lt;P&gt;auszvrcuw446&lt;BR /&gt;auszvrcuwa46&lt;BR /&gt;auszvrcuw3z3&lt;BR /&gt;auszvrcuw33a&lt;BR /&gt;auszvrcuw346&lt;BR /&gt;auszvrcuw546&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paulo_calaxa_0-1717483762054.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/20305i7DF506B5BE5400E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paulo_calaxa_0-1717483762054.png" alt="paulo_calaxa_0-1717483762054.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;normal characters? substitute the "d" for&amp;nbsp; a "w"&lt;BR /&gt;Any character? substitute the "\d" for a "."&lt;BR /&gt;You may test it in&amp;nbsp;&lt;A href="https://regex101.com/" target="_blank" rel="noopener"&gt;https://regex101.com/&lt;/A&gt;&lt;BR /&gt;and it also as examples/help, at the lower right corner&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Paulo&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 06:55:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/247296#M32601</guid>
      <dc:creator>paulo_calaxa</dc:creator>
      <dc:date>2024-06-04T06:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Use of placeholder for automatically applied tags (host names)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/247762#M32689</link>
      <description>&lt;P&gt;Hi URU&lt;/P&gt;&lt;P&gt;Please share screenshot of how you have done this in automatic applied tags?.&amp;nbsp; Please find my screenshot . i am still finding where to add to rule for to match hostname condition.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jun 2024 07:56:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/247762#M32689</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-06-09T07:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Use of placeholder for automatically applied tags (host names)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/247764#M32690</link>
      <description>&lt;P&gt;when is use this&amp;nbsp;[3|5]\d{2}$, i am getting only the names whose lastletter is 5, not 3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jun 2024 08:11:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/247764#M32690</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-06-09T08:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Use of placeholder for automatically applied tags (host names)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/247765#M32691</link>
      <description>&lt;P&gt;This is the issue., Since there is hostname is matching - what we do if 10th of hostname is 5 or 3.&lt;/P&gt;&lt;P&gt;Windows name -&amp;nbsp;&lt;SPAN&gt;auszvrcuw346.rcuad.local&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unix name -&amp;nbsp;auszvrcuw346&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jun 2024 08:27:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/247765#M32691</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-06-09T08:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Use of placeholder for automatically applied tags (host names)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/247773#M32692</link>
      <description>&lt;P&gt;Same question answered &lt;A title="here" href="https://community.dynatrace.com/t5/Dynatrace-tips/Pro-Tips-My-summary-of-great-tips/m-p/247772/highlight/true#M1286" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jun 2024 15:02:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/247773#M32692</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2024-06-09T15:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Use of placeholder for automatically applied tags (host names)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/259236#M34208</link>
      <description>&lt;P&gt;Hi Paulo&lt;/P&gt;&lt;P&gt;above solution worked for&amp;nbsp;&lt;SPAN&gt;ones ending in digits, with 3 or 5 in the 3rd last place.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do i add one more condition so that it picks up when hostname starts with aus&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 03:45:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/259236#M34208</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-10-15T03:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Use of placeholder for automatically applied tags (host names)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/259237#M34209</link>
      <description>&lt;P&gt;please find the attached one.&amp;nbsp; when i put the and condition to have hostname start with auu - it is not giving actual result&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 03:57:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Use-of-placeholder-for-automatically-applied-tags-host-names/m-p/259237#M34209</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-10-15T03:57:47Z</dc:date>
    </item>
  </channel>
</rss>

