<?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: Trigger Alert based on Unique Values and Throttle so unique value doesn't get sent again in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Trigger-Alert-based-on-Unique-Values-and-Throttle-so-unique/m-p/686226#M15982</link>
    <description>&lt;P&gt;Is there a reason you are using "$result.title$" instead of "Ticket" in the "Suppress results containing field value" field?&lt;/P&gt;</description>
    <pubDate>Thu, 02 May 2024 19:28:33 GMT</pubDate>
    <dc:creator>marnall</dc:creator>
    <dc:date>2024-05-02T19:28:33Z</dc:date>
    <item>
      <title>Trigger Alert based on Unique Values and Throttle so unique value doesn't get sent again</title>
      <link>https://community.splunk.com/t5/Alerting/Trigger-Alert-based-on-Unique-Values-and-Throttle-so-unique/m-p/686205#M15979</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Background:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am generating alerts around our Office 365 Environment using the Content Pack for Microsoft 365. I have limited search query experience but willing to put in the time to learn more as I go.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/CPM365/latest/CP/About" target="_blank" rel="noopener"&gt;About the Content Pack for Microsoft 365 - Splunk Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Trying to accomplish:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Runs every 10 minutes &amp;gt; Trigger single alert if "id"/"Ticket" is unique for every result &amp;gt; Throttle for 24 hours&lt;/P&gt;&lt;P&gt;This is just an example of my search query:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(index=Office365) sourcetype="o365:service:healthIssue" service="Exchange Online" classification=incident OR advisory status=serviceDegradation OR investigating
| eventstats max(_time) as maxtime, by id
| where _time = maxtime
| mvexpand posts{}.description.content
| mvexpand posts{}.createdDateTime
| rename posts{}.description.content AS content posts{}.createdDateTime AS postUpdateTime
| stats latest(content) AS Content latest(status) AS Status earliest(_time) AS _time latest(postUpdateTime) AS postUpdateTime by service, classification id isResolved
| fields _time service  classification id  Content postUpdateTime Status isResolved
| sort + isResolved -postUpdateTime
| rename isResolved AS Resolved? service AS Workload id AS Ticket classification AS Classification postUpdateTime AS "Last Update"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="would I need a custom trigger? and what result would be required for suppressing?" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30649i0EC8D12F90C8A6A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thumbnail_image002 (1).png" alt="would I need a custom trigger? and what result would be required for suppressing?" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;would I need a custom trigger? and what result would be required for suppressing?&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;What Is happening:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;There could be technically be 3 events based on the search query but the alert will only send 1 email to me (with only 1 event) instead of 3 individual alert emails, with 3 separate events.&lt;/P&gt;&lt;P&gt;I am trying to prevent the same alert being generated for the same "Ticket/ID" so if a new event happens it will trigger the alert should I be using a custom trigger? and if so what result would I suppress to prevent multiple alerts of the same "ticket/id"?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help would be greatful!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 17:33:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Trigger-Alert-based-on-Unique-Values-and-Throttle-so-unique/m-p/686205#M15979</guid>
      <dc:creator>Kohtea16</dc:creator>
      <dc:date>2024-05-02T17:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger Alert based on Unique Values and Throttle so unique value doesn't get sent again</title>
      <link>https://community.splunk.com/t5/Alerting/Trigger-Alert-based-on-Unique-Values-and-Throttle-so-unique/m-p/686215#M15980</link>
      <description>&lt;P&gt;If I understand correctly, you want an alert for every unique Ticket (id) value, but every unique Ticket (id) value will be throttled for 24 hours after it triggers an alert.&lt;/P&gt;&lt;P&gt;You can accomplish this by setting the trigger conditions:&lt;/P&gt;&lt;P&gt;Trigger alert when: Number of Results&lt;BR /&gt;is greater than 0&lt;/P&gt;&lt;P&gt;Trigger: For each result&lt;/P&gt;&lt;P&gt;Throttle: (checked)&lt;/P&gt;&lt;P&gt;Suppress results containing field value: Ticket&lt;/P&gt;&lt;P&gt;Suppress triggering for: 24 hours&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 18:33:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Trigger-Alert-based-on-Unique-Values-and-Throttle-so-unique/m-p/686215#M15980</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-05-02T18:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger Alert based on Unique Values and Throttle so unique value doesn't get sent again</title>
      <link>https://community.splunk.com/t5/Alerting/Trigger-Alert-based-on-Unique-Values-and-Throttle-so-unique/m-p/686222#M15981</link>
      <description>&lt;P&gt;I have setup based your suggested settings (this is actually what I was using first) however it only captures 1 event instead of the 3 that are available:&lt;/P&gt;&lt;P&gt;I uploaded some more screenshots below on what I am experiencing and hope this makes more sense now.&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-left" image-alt="trigger config" style="width: 761px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30651i4F77A530C5D1F2E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="thumbnail_image003.png" alt="trigger config" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;trigger config&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="sample email alert that gets generated" style="width: 953px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30652i8F779F6EE1DA1032/image-size/large?v=v2&amp;amp;px=999" role="button" title="thumbnail_image001 (4).png" alt="sample email alert that gets generated" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;sample email alert that gets generated&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="search query shows three events" style="width: 719px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30653i51ACA58ABD6B33C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="thumbnail_image002 (2).png" alt="search query shows three events" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;search query shows three events&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 19:12:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Trigger-Alert-based-on-Unique-Values-and-Throttle-so-unique/m-p/686222#M15981</guid>
      <dc:creator>Kohtea16</dc:creator>
      <dc:date>2024-05-02T19:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger Alert based on Unique Values and Throttle so unique value doesn't get sent again</title>
      <link>https://community.splunk.com/t5/Alerting/Trigger-Alert-based-on-Unique-Values-and-Throttle-so-unique/m-p/686226#M15982</link>
      <description>&lt;P&gt;Is there a reason you are using "$result.title$" instead of "Ticket" in the "Suppress results containing field value" field?&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 19:28:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Trigger-Alert-based-on-Unique-Values-and-Throttle-so-unique/m-p/686226#M15982</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-05-02T19:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger Alert based on Unique Values and Throttle so unique value doesn't get sent again</title>
      <link>https://community.splunk.com/t5/Alerting/Trigger-Alert-based-on-Unique-Values-and-Throttle-so-unique/m-p/686228#M15983</link>
      <description>&lt;P&gt;That was my mistake was testing out other possibilities on the "result" thinking that would help.&lt;/P&gt;&lt;P&gt;I changed it to just "Ticket" and I received three separate email alerts, thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 19:48:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Trigger-Alert-based-on-Unique-Values-and-Throttle-so-unique/m-p/686228#M15983</guid>
      <dc:creator>Kohtea16</dc:creator>
      <dc:date>2024-05-02T19:48:53Z</dc:date>
    </item>
  </channel>
</rss>

