<?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 How to send an alert for alert resolution? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-send-an-alert-for-alert-resolution/m-p/612120#M14219</link>
    <description>&lt;P&gt;I want to send an alert when a situation has been corrected. for example If i setup an alert for low diskspace on a host and I set this alert up to check every 15 minutes, with range back 15 minutes. I will get an alert until I correct the low disk issue on the host. but what I want is that when the problem is corrected, splunk somehow would know that it needs to send an "Alert resolved" out. The problem is I only want it to send that "Alert resolved" message out only after an alert was sent out that it was a problem.&lt;/P&gt;
&lt;P&gt;I would think that somehow a flag for an alert would need to be set when an alert is thrown so that when the condition is corrected, Splunk has a way to know that the previously it was a problem and it would send the "Alert resolved" alert&lt;/P&gt;
&lt;P&gt;Anyone know of a way to do this?&lt;BR /&gt;Gary&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Sep 2022 19:44:14 GMT</pubDate>
    <dc:creator>giga444</dc:creator>
    <dc:date>2022-09-07T19:44:14Z</dc:date>
    <item>
      <title>How to send an alert for alert resolution?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-send-an-alert-for-alert-resolution/m-p/612120#M14219</link>
      <description>&lt;P&gt;I want to send an alert when a situation has been corrected. for example If i setup an alert for low diskspace on a host and I set this alert up to check every 15 minutes, with range back 15 minutes. I will get an alert until I correct the low disk issue on the host. but what I want is that when the problem is corrected, splunk somehow would know that it needs to send an "Alert resolved" out. The problem is I only want it to send that "Alert resolved" message out only after an alert was sent out that it was a problem.&lt;/P&gt;
&lt;P&gt;I would think that somehow a flag for an alert would need to be set when an alert is thrown so that when the condition is corrected, Splunk has a way to know that the previously it was a problem and it would send the "Alert resolved" alert&lt;/P&gt;
&lt;P&gt;Anyone know of a way to do this?&lt;BR /&gt;Gary&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 19:44:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-send-an-alert-for-alert-resolution/m-p/612120#M14219</guid>
      <dc:creator>giga444</dc:creator>
      <dc:date>2022-09-07T19:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to send an alert for Alert resolution?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-send-an-alert-for-alert-resolution/m-p/612260#M14221</link>
      <description>&lt;P&gt;You haven't provided much details about your data but in general you can try something like that:&lt;BR /&gt;&lt;BR /&gt;| stats min(disk_usage) as min_usage max(disk_usage) as max_usage&amp;nbsp;&lt;BR /&gt;| where min_usage &amp;lt; threshold and max_usage &amp;gt; threshold&lt;/P&gt;&lt;P&gt;This needs to be run for a time range which will cover at least 2 last disk usage samples.&lt;/P&gt;&lt;P&gt;I assume that you already have an alert to be triggered when disk_usage is above the threshold&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 11:57:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-send-an-alert-for-alert-resolution/m-p/612260#M14221</guid>
      <dc:creator>JacekF</dc:creator>
      <dc:date>2022-09-07T11:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to send an alert for Alert resolution?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-send-an-alert-for-alert-resolution/m-p/612309#M14222</link>
      <description>&lt;P&gt;It's the alert that goes out &lt;U&gt;after&lt;/U&gt; the alert threshold is breached but then recovers for whatever reason.&amp;nbsp; For example... I have an alert that triggers if my disk space drops below 10% and a text is sent out. if a host then does drop below the 10%, Splunk does send an alert out that the the diskspace is below 10%. At that time someone from our team logs on and adds diskspace that bringing the diskspace back up to 20%. The alert stops triggering. All this works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;what&amp;nbsp; I want is (more of a notification than an alert) to be sent out that the diskspace issue has been resolved.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 19:39:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-send-an-alert-for-alert-resolution/m-p/612309#M14222</guid>
      <dc:creator>giga444</dc:creator>
      <dc:date>2022-09-07T19:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to send an alert for Alert resolution?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-send-an-alert-for-alert-resolution/m-p/612360#M14223</link>
      <description>&lt;P&gt;Then it looks like you need a query with a time range covering last two samples, and then compare latest value with the earliest. If latest value is below the threshold and earliest is above it, it means that there is more free space available and an alert (notification) can be sent.&lt;/P&gt;&lt;P&gt;Or maybe I completely misunderstood your case?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 07:03:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-send-an-alert-for-alert-resolution/m-p/612360#M14223</guid>
      <dc:creator>JacekF</dc:creator>
      <dc:date>2022-09-08T07:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to send an alert for Alert resolution?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-send-an-alert-for-alert-resolution/m-p/612458#M14226</link>
      <description>&lt;P&gt;JacekF,&amp;nbsp;&lt;BR /&gt;Brilliant! how creative. I had not thought of doing it that way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Gary&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 18:21:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-send-an-alert-for-alert-resolution/m-p/612458#M14226</guid>
      <dc:creator>giga444</dc:creator>
      <dc:date>2022-09-08T18:21:00Z</dc:date>
    </item>
  </channel>
</rss>

