<?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: Send notification if a specific Synthetic Type is matched in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Send-notification-if-a-specific-Synthetic-Type-is-matched/m-p/212582#M3520</link>
    <description>&lt;P&gt;I think I figured it out...based on my tests, the problem is raised but the Slack notification doesn't come through for the two error types (codes) that I've excluded. If I stop the web server, the problem is raised and the Slack message comes through, confirming that the Slack integration is working but only when the two errors are not seen.&lt;/P&gt;&lt;P&gt;I've done it via the Alerting profile, by adding the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andre_vdveen_0-1684414824622.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11731i90E908266BEB3C4B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andre_vdveen_0-1684414824622.png" alt="andre_vdveen_0-1684414824622.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The issue I faced before, was that I didn't use the full error code...I only used the text without the actual error code e.g., 1401 for the&amp;nbsp;&lt;EM&gt;Wait timeout was too short for the page to load&lt;/EM&gt;&amp;nbsp;errors; once I figured out where to get the full error code text, on the details of the failed execution, I copied the full code ('circled' in blue) and pasted that into the value field for the Property filter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andre_vdveen_1-1684415228856.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11732i7FD6AF2556C8B7B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andre_vdveen_1-1684415228856.png" alt="andre_vdveen_1-1684415228856.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2023 13:10:48 GMT</pubDate>
    <dc:creator>andre_vdveen</dc:creator>
    <dc:date>2023-05-18T13:10:48Z</dc:date>
    <item>
      <title>Send notification if a specific Synthetic Type is matched</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-notification-if-a-specific-Synthetic-Type-is-matched/m-p/206395#M3392</link>
      <description>&lt;P&gt;I want to send out a notification only if the Synthetic monitor Type contains specific text or wording e.g.,&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;Type: 401 Unauthorized&lt;/EM&gt; but not for e.g.,&amp;nbsp;&lt;EM&gt;Type: Wait timeout was too short for the page to load&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Example of additional context I get in the Slack message, in this case:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Synthetic monitor global outage&lt;BR /&gt;1 failure&lt;BR /&gt;Actions: click on "Log in"&lt;BR /&gt;Type: 401 Unauthorized&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've tried using the custom event filter but it doesn't seem to follow my logic&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 20:24:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-notification-if-a-specific-Synthetic-Type-is-matched/m-p/206395#M3392</guid>
      <dc:creator>andre_vdveen</dc:creator>
      <dc:date>2023-03-06T20:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Send notification if a specific Synthetic Type is matched</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-notification-if-a-specific-Synthetic-Type-is-matched/m-p/206420#M3393</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe a content validation to fail when some plain text is found:&amp;nbsp;&lt;A title="Validate content" href="https://www.dynatrace.com/support/help/shortlink/id-brower-clickpath-events#validate" target="_self"&gt;Validate content&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 07:58:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-notification-if-a-specific-Synthetic-Type-is-matched/m-p/206420#M3393</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2023-03-07T07:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Send notification if a specific Synthetic Type is matched</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-notification-if-a-specific-Synthetic-Type-is-matched/m-p/206423#M3394</link>
      <description>&lt;P&gt;Anton's solution would be my first suggestion, to use the content validation available in the product. You can also add extra validation in a &lt;A href="https://www.dynatrace.com/support/help/platform-modules/digital-experience/synthetic-monitoring/browser-monitors/browser-clickpath-events#javascript" target="_self"&gt;JavaScript event.&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If neither of those options work for your scenario, you can &lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/events-v2/post-event" target="_self"&gt;push an event&lt;/A&gt; from the Browser monitor by sending a fetch request in a JavaScript event.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 08:39:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-notification-if-a-specific-Synthetic-Type-is-matched/m-p/206423#M3394</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2023-03-07T08:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Send notification if a specific Synthetic Type is matched</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-notification-if-a-specific-Synthetic-Type-is-matched/m-p/206424#M3395</link>
      <description>&lt;P&gt;Thanks for the suggestions,&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/1433"&gt;@HannahM&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt;&amp;nbsp;- I'm already using content validation for plain text, to confirm if the user logged in successfully, but I don't want to be alerted on the&amp;nbsp;&lt;EM&gt;Wait timeout &lt;/EM&gt;types.&lt;BR /&gt;If the wait timeout occurs, it should not do anything in the form of alerting, other than run the check again on the next interval. I hope I'm making sense.&lt;/P&gt;&lt;P&gt;I'll look into the other suggestions later, hopefully, one of those will do the trick.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 08:48:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-notification-if-a-specific-Synthetic-Type-is-matched/m-p/206424#M3395</guid>
      <dc:creator>andre_vdveen</dc:creator>
      <dc:date>2023-03-07T08:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Send notification if a specific Synthetic Type is matched</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-notification-if-a-specific-Synthetic-Type-is-matched/m-p/212039#M3498</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/11931"&gt;@andre_vdveen&lt;/a&gt;&amp;nbsp;let us know when you'll find a solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 11:55:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-notification-if-a-specific-Synthetic-Type-is-matched/m-p/212039#M3498</guid>
      <dc:creator>AgataWlodarczyk</dc:creator>
      <dc:date>2023-05-12T11:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Send notification if a specific Synthetic Type is matched</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-notification-if-a-specific-Synthetic-Type-is-matched/m-p/212582#M3520</link>
      <description>&lt;P&gt;I think I figured it out...based on my tests, the problem is raised but the Slack notification doesn't come through for the two error types (codes) that I've excluded. If I stop the web server, the problem is raised and the Slack message comes through, confirming that the Slack integration is working but only when the two errors are not seen.&lt;/P&gt;&lt;P&gt;I've done it via the Alerting profile, by adding the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andre_vdveen_0-1684414824622.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11731i90E908266BEB3C4B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andre_vdveen_0-1684414824622.png" alt="andre_vdveen_0-1684414824622.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The issue I faced before, was that I didn't use the full error code...I only used the text without the actual error code e.g., 1401 for the&amp;nbsp;&lt;EM&gt;Wait timeout was too short for the page to load&lt;/EM&gt;&amp;nbsp;errors; once I figured out where to get the full error code text, on the details of the failed execution, I copied the full code ('circled' in blue) and pasted that into the value field for the Property filter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andre_vdveen_1-1684415228856.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11732i7FD6AF2556C8B7B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andre_vdveen_1-1684415228856.png" alt="andre_vdveen_1-1684415228856.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 13:10:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-notification-if-a-specific-Synthetic-Type-is-matched/m-p/212582#M3520</guid>
      <dc:creator>andre_vdveen</dc:creator>
      <dc:date>2023-05-18T13:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Send notification if a specific Synthetic Type is matched</title>
      <link>https://community.dynatrace.com/t5/Alerting/Send-notification-if-a-specific-Synthetic-Type-is-matched/m-p/212591#M3521</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/11931"&gt;@andre_vdveen&lt;/a&gt;&amp;nbsp;thanks for sharing! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 17:08:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Send-notification-if-a-specific-Synthetic-Type-is-matched/m-p/212591#M3521</guid>
      <dc:creator>AgataWlodarczyk</dc:creator>
      <dc:date>2023-05-18T17:08:48Z</dc:date>
    </item>
  </channel>
</rss>

