<?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: Regex in notification rules in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Regex-in-notification-rules/m-p/217142#M27331</link>
    <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/6875"&gt;@chris_oggeri&lt;/a&gt;&amp;nbsp; you may want to look at this --&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Product-ideas/RFE-Customize-Problem-Notification-mainly-by-email/idi-p/163549" target="_blank"&gt;https://community.dynatrace.com/t5/Product-ideas/RFE-Customize-Problem-Notification-mainly-by-email/idi-p/163549&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So far, there's no functionality to parse "placeholders" AFAIK.&lt;/P&gt;&lt;P&gt;Thanks. Tibebe&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jul 2023 16:23:06 GMT</pubDate>
    <dc:creator>tibebe_m_digafe</dc:creator>
    <dc:date>2023-07-06T16:23:06Z</dc:date>
    <item>
      <title>Regex in notification rules</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Regex-in-notification-rules/m-p/217106#M27326</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;To avoid creating as many alerting profiles/notification rules as there are use cases, we would like to have the ability to make regex on the available placeholders in the notification rules.&lt;/P&gt;&lt;P&gt;For instance, for ITSM notifications, we would like to avoid splitting the alerting rules per type of alert and priority.&lt;/P&gt;&lt;P&gt;We would like to gather the value of the priority in the title of the custom event and use it in the payload of the notification rule for example.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Alert titles: disk_fatal_threshold_p2_alertinfra (then p1/p2/p3/etc.)&lt;/P&gt;&lt;P&gt;Notification payload:&amp;nbsp;{ "event_id": "{PID}-{ProblemID}", "inc_priority": "{ProblemTitle&lt;STRONG&gt;\.*?p(.)_alertinfra&lt;/STRONG&gt;}", ....}&lt;/P&gt;&lt;P&gt;Is there any capability to fulfil this need? I did found we could use regex in the documentation.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: Maybe something smarter could be allow us to use the Property attribute setup in the metric event as a placeholder like we can use with Tags.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 14:38:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Regex-in-notification-rules/m-p/217106#M27326</guid>
      <dc:creator>chris_oggeri</dc:creator>
      <dc:date>2023-07-06T14:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Regex in notification rules</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Regex-in-notification-rules/m-p/217142#M27331</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/6875"&gt;@chris_oggeri&lt;/a&gt;&amp;nbsp; you may want to look at this --&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Product-ideas/RFE-Customize-Problem-Notification-mainly-by-email/idi-p/163549" target="_blank"&gt;https://community.dynatrace.com/t5/Product-ideas/RFE-Customize-Problem-Notification-mainly-by-email/idi-p/163549&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So far, there's no functionality to parse "placeholders" AFAIK.&lt;/P&gt;&lt;P&gt;Thanks. Tibebe&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 16:23:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Regex-in-notification-rules/m-p/217142#M27331</guid>
      <dc:creator>tibebe_m_digafe</dc:creator>
      <dc:date>2023-07-06T16:23:06Z</dc:date>
    </item>
  </channel>
</rss>

