<?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 Matching Host Names with Regex in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/162877#M16079</link>
    <description>&lt;P&gt;Hi community, I wrote the following Regex to match either hostname formats:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;(?:ocp-p[a-zA-Z]-a\d{0,2}|worker-\d{0,2}\.ocp4-re)\.cloud\.com&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The hostname are dynamically created.&lt;/P&gt;&lt;P&gt;I've check the rule on &lt;A href="https://regex101.com/" target="_self"&gt;Regex 101&lt;/A&gt; and matches everything as expected, but when I go to Dynatrace and hit preview only matches example 1 and 4. What I'm doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;worker-10.ocp4-re.cloud.com&lt;BR /&gt;ocp-pe-a2.cloud.com&lt;BR /&gt;ocp-pe-a42.cloud.com&lt;BR /&gt;worker-0.ocp4-re.cloud.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Mar 2021 20:17:45 GMT</pubDate>
    <dc:creator>DanielS</dc:creator>
    <dc:date>2021-03-15T20:17:45Z</dc:date>
    <item>
      <title>Matching Host Names with Regex</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/162877#M16079</link>
      <description>&lt;P&gt;Hi community, I wrote the following Regex to match either hostname formats:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;(?:ocp-p[a-zA-Z]-a\d{0,2}|worker-\d{0,2}\.ocp4-re)\.cloud\.com&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The hostname are dynamically created.&lt;/P&gt;&lt;P&gt;I've check the rule on &lt;A href="https://regex101.com/" target="_self"&gt;Regex 101&lt;/A&gt; and matches everything as expected, but when I go to Dynatrace and hit preview only matches example 1 and 4. What I'm doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;worker-10.ocp4-re.cloud.com&lt;BR /&gt;ocp-pe-a2.cloud.com&lt;BR /&gt;ocp-pe-a42.cloud.com&lt;BR /&gt;worker-0.ocp4-re.cloud.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 20:17:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/162877#M16079</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2021-03-15T20:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Matching Host Names with Regex</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/162885#M16081</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/35788"&gt;@DanielS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try the following:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(?:.*cloud.com)&lt;/LI-CODE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Babar&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 06:16:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/162885#M16081</guid>
      <dc:creator>Babar_Qayyum</dc:creator>
      <dc:date>2021-03-16T06:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Matching Host Names with Regex</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/163174#M16144</link>
      <description>&lt;P&gt;I'd recommend using what&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/22017"&gt;@Babar_Qayyum&lt;/a&gt;&amp;nbsp;supplied, if that still fails (which i dont expect) then maybe make 4 rules, one for each line item to ensure they are working correctly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 19:00:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/163174#M16144</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2021-03-19T19:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Matching Host Names with Regex</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/163177#M16145</link>
      <description>&lt;P&gt;Thanks, finally instead of doing one rule, I made one for 1 and 4 and other one for the 2,3. It's not what I wanted, but the field is limited to 80 chars, so If in a future I add more examples it would be easier to maintain.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 20:24:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/163177#M16145</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2021-03-19T20:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Matching Host Names with Regex</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/163178#M16146</link>
      <description>&lt;P&gt;great to hear, but yes I've run into issues too with character limits for regex, but still cut down on the overall rules. glad it worked&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe toss in a RFE for that limit to be raised.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 20:27:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/163178#M16146</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2021-03-19T20:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Matching Host Names with Regex</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/163179#M16147</link>
      <description>&lt;P&gt;Good Idea, I've done a request and wait if it accepted. Thanks for your answers.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 20:28:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/163179#M16147</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2021-03-19T20:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Matching Host Names with Regex</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/163180#M16148</link>
      <description>&lt;P&gt;thanks for your answer.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 20:29:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/163180#M16148</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2021-03-19T20:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Matching Host Names with Regex</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/163181#M16149</link>
      <description>&lt;P&gt;toss along the link and ill up vote it&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 20:29:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/163181#M16149</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2021-03-19T20:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Matching Host Names with Regex</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/163184#M16150</link>
      <description>&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/Dynatrace-product-ideas/RFE-Raise-Regex-Field-Limit/idi-p/163183" target="_blank"&gt;https://community.dynatrace.com/t5/Dynatrace-product-ideas/RFE-Raise-Regex-Field-Limit/idi-p/163183&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Done&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 20:36:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Matching-Host-Names-with-Regex/m-p/163184#M16150</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2021-03-19T20:36:59Z</dc:date>
    </item>
  </channel>
</rss>

