<?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: How do you auto-clear alerts for log sources that begin sending logs again after x-seconds? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323280#M5746</link>
    <description>&lt;P&gt;I have updated the Splunk-TA_webtools app on splunkbase to support this scenario:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/3420" target="_blank"&gt;https://splunkbase.splunk.com/app/3420&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Deleting 10 fired alerts for search named "Test Alert":&lt;BR /&gt;
    | rest /servicesNS/admin/search/alerts/fired_alerts/Test%20Alert &lt;BR /&gt;
    | fields title &lt;BR /&gt;
    | head 10 &lt;BR /&gt;
    | map search="|curl method=delete ssl=true uri="localhost:8089/servicesNS/admin/search/alerts/fired_alerts/$title$" user=admin pass=changeme | table *"&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 15:12:09 GMT</pubDate>
    <dc:creator>jkat54</dc:creator>
    <dc:date>2020-09-29T15:12:09Z</dc:date>
    <item>
      <title>How do you auto-clear alerts for log sources that begin sending logs again after x-seconds?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323275#M5741</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have an alert for log sources that stopped sending logs for a while. Alert string is like: &lt;CODE&gt;| metadata type=sources | eval age=now()-lastTime | search age&amp;gt;600&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I am planning to clear alerts for the log sources that started to send logs after 300 seconds. Is there any way to do that? I thought log sources might be written into a reference set with the inputlookup command, but I am not able to find how to clear values that start sending logs.&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;BR /&gt;
Cem&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jul 2017 13:54:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323275#M5741</guid>
      <dc:creator>cemiam</dc:creator>
      <dc:date>2017-07-22T13:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do you auto-clear alerts for log sources that begin sending logs again after x-seconds?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323276#M5742</link>
      <description>&lt;P&gt;By clearing the alert do you mean you want to clear already triggered alert from Triggered Alert History or do you want to change your alert condition from sources not feeding data in last 10 min to last 5 min (300 sec)?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=sources 
| eval age=now()-lastTime 
| search age&amp;gt;300
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 22 Jul 2017 15:10:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323276#M5742</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-07-22T15:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do you auto-clear alerts for log sources that begin sending logs again after x-seconds?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323277#M5743</link>
      <description>&lt;P&gt;I want to clear alert if it send logs in last 5 mins. Is there any method to clear alerts? Actually it don't have to be an alert. We can just save it as a report. The important part is clearing the values after 5 minutes if it started to send logs. &lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2017 13:18:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323277#M5743</guid>
      <dc:creator>cemiam</dc:creator>
      <dc:date>2017-07-23T13:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do you auto-clear alerts for log sources that begin sending logs again after x-seconds?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323278#M5744</link>
      <description>&lt;P&gt;@cemiam, You can create a dashboard with source details which refreshes every minutes.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 07:04:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323278#M5744</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-07-25T07:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do you auto-clear alerts for log sources that begin sending logs again after x-seconds?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323279#M5745</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;This time I'll not see if problem occurs and resolves in a few minutes. It will constantly refresh the report and delete every source which starts to send log. We need to delete them only after they send at most in 5 minutes. Do you know any way to do this?&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2017 14:04:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323279#M5745</guid>
      <dc:creator>cemiam</dc:creator>
      <dc:date>2017-08-01T14:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do you auto-clear alerts for log sources that begin sending logs again after x-seconds?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323280#M5746</link>
      <description>&lt;P&gt;I have updated the Splunk-TA_webtools app on splunkbase to support this scenario:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/3420" target="_blank"&gt;https://splunkbase.splunk.com/app/3420&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Deleting 10 fired alerts for search named "Test Alert":&lt;BR /&gt;
    | rest /servicesNS/admin/search/alerts/fired_alerts/Test%20Alert &lt;BR /&gt;
    | fields title &lt;BR /&gt;
    | head 10 &lt;BR /&gt;
    | map search="|curl method=delete ssl=true uri="localhost:8089/servicesNS/admin/search/alerts/fired_alerts/$title$" user=admin pass=changeme | table *"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:12:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323280#M5746</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-09-29T15:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do you auto-clear alerts for log sources that begin sending logs again after x-seconds?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323281#M5747</link>
      <description>&lt;P&gt;@cemiam this is working for me, please test on your end after downloading and installing the last Splunk-TA_webtool (v1.00).&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 19:52:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323281#M5747</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-08-03T19:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do you auto-clear alerts for log sources that begin sending logs again after x-seconds?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323282#M5748</link>
      <description>&lt;P&gt;Hi jkat54,&lt;/P&gt;

&lt;P&gt;It worked like a charm. Thank you for your efforts. It seems this will resolve our problem.&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 10:10:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323282#M5748</guid>
      <dc:creator>cemiam</dc:creator>
      <dc:date>2017-08-04T10:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do you auto-clear alerts for log sources that begin sending logs again after x-seconds?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323283#M5749</link>
      <description>&lt;P&gt;That's great!  Happy to help.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 12:08:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323283#M5749</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-08-05T12:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do you auto-clear alerts for log sources that begin sending logs again after x-seconds?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323284#M5750</link>
      <description>&lt;P&gt;@cemiam if you don't mind, can you please take a moment to rate the app on splunkbase?  Thanks again!&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 12:13:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323284#M5750</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-08-05T12:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do you auto-clear alerts for log sources that begin sending logs again after x-seconds?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323285#M5751</link>
      <description>&lt;P&gt;Sure. I have rated your app. Thanks again for your assitance.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 13:04:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-you-auto-clear-alerts-for-log-sources-that-begin-sending/m-p/323285#M5751</guid>
      <dc:creator>cemiam</dc:creator>
      <dc:date>2017-08-05T13:04:09Z</dc:date>
    </item>
  </channel>
</rss>

