<?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: Splunk python SDK to find stale alerts in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-SDK-to-find-stale-alerts/m-p/538875#M9671</link>
    <description>&lt;P&gt;In &lt;A href="https://splunkbase.splunk.com/app/3796/" target="_self"&gt;Alerts for Splunk Admins&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or direct link to github &lt;A href="https://github.com/gjanders/SplunkAdmins/blob/master/default/savedsearches.conf" target="_blank" rel="noopener"&gt;https://github.com/gjanders/SplunkAdmins/blob/master/default/savedsearches.conf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There is an alert called "SearchHeadLevel - Alerts that have not fired an action in X days"&lt;/P&gt;&lt;P&gt;You could run a search like that or trigger the report or similar via the SDK/REST API. That said alerts will generally run, if they never fire an action then that might be a criteria to check if they are still valid/in use&lt;/P&gt;</description>
    <pubDate>Sun, 07 Feb 2021 05:14:03 GMT</pubDate>
    <dc:creator>gjanders</dc:creator>
    <dc:date>2021-02-07T05:14:03Z</dc:date>
    <item>
      <title>Splunk python SDK to find stale alerts</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-SDK-to-find-stale-alerts/m-p/538872#M9670</link>
      <description>&lt;P&gt;By using Splunk python SDK API, is there a way to find list of all Splunk alerts which have not been triggered for specified period of time? The basic idea is to run such report on regular basis and alert users on alerts which are just sitting there for specified period of time so that those alerts can be modified etc. Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2021 02:04:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-SDK-to-find-stale-alerts/m-p/538872#M9670</guid>
      <dc:creator>RS</dc:creator>
      <dc:date>2021-02-07T02:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python SDK to find stale alerts</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-SDK-to-find-stale-alerts/m-p/538875#M9671</link>
      <description>&lt;P&gt;In &lt;A href="https://splunkbase.splunk.com/app/3796/" target="_self"&gt;Alerts for Splunk Admins&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or direct link to github &lt;A href="https://github.com/gjanders/SplunkAdmins/blob/master/default/savedsearches.conf" target="_blank" rel="noopener"&gt;https://github.com/gjanders/SplunkAdmins/blob/master/default/savedsearches.conf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There is an alert called "SearchHeadLevel - Alerts that have not fired an action in X days"&lt;/P&gt;&lt;P&gt;You could run a search like that or trigger the report or similar via the SDK/REST API. That said alerts will generally run, if they never fire an action then that might be a criteria to check if they are still valid/in use&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2021 05:14:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-SDK-to-find-stale-alerts/m-p/538875#M9671</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2021-02-07T05:14:03Z</dc:date>
    </item>
  </channel>
</rss>

