<?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 to get list of alerts which are disabled within 24 hours in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/how-to-get-list-of-alerts-which-are-disabled-within-24-hours/m-p/114355#M1682</link>
    <description>&lt;P&gt;Possibly but I think it would be highly inadvisable. &lt;/P&gt;</description>
    <pubDate>Mon, 24 Aug 2015 17:37:22 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-08-24T17:37:22Z</dc:date>
    <item>
      <title>how to get list of alerts which are disabled within 24 hours</title>
      <link>https://community.splunk.com/t5/Alerting/how-to-get-list-of-alerts-which-are-disabled-within-24-hours/m-p/114352#M1679</link>
      <description>&lt;P&gt;I have couple of alerts, among of these alerts some of alerts are disabled. Some of alerts are disabled a week ago, some of alerts are disabled within last 24 hours, I need list of that alert which are disabled within 24 hours only. &lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 09:50:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/how-to-get-list-of-alerts-which-are-disabled-within-24-hours/m-p/114352#M1679</guid>
      <dc:creator>chandanjaisal</dc:creator>
      <dc:date>2015-07-09T09:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to get list of alerts which are disabled within 24 hours</title>
      <link>https://community.splunk.com/t5/Alerting/how-to-get-list-of-alerts-which-are-disabled-within-24-hours/m-p/114353#M1680</link>
      <description>&lt;P&gt;You get the list of alerts like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|rest/servicesNS/admin/search/saved/searches | search disabled=1 | table title | outputlookup mylookup
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You run this as a saved search every 24-hours and use &lt;CODE&gt;outputlookup&lt;/CODE&gt; to save the results.  You also save a similar search to run just before the first one that uses &lt;CODE&gt;inputlookup&lt;/CODE&gt; and compares the 2 looking for new entries and ignoring old entries like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|rest/servicesNS/admin/search/saved/searches | search disabled=1 | table title | eval type="new" | append [|inputlookup mylookup | eval type="old]" | stats values(type) AS types BY title | where types!="old"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Jul 2015 12:54:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/how-to-get-list-of-alerts-which-are-disabled-within-24-hours/m-p/114353#M1680</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-09T12:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to get list of alerts which are disabled within 24 hours</title>
      <link>https://community.splunk.com/t5/Alerting/how-to-get-list-of-alerts-which-are-disabled-within-24-hours/m-p/114354#M1681</link>
      <description>&lt;P&gt;Hi Woodcock&lt;BR /&gt;
 Can we merge these two search&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2015 17:03:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/how-to-get-list-of-alerts-which-are-disabled-within-24-hours/m-p/114354#M1681</guid>
      <dc:creator>chandanjaisal</dc:creator>
      <dc:date>2015-08-24T17:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to get list of alerts which are disabled within 24 hours</title>
      <link>https://community.splunk.com/t5/Alerting/how-to-get-list-of-alerts-which-are-disabled-within-24-hours/m-p/114355#M1682</link>
      <description>&lt;P&gt;Possibly but I think it would be highly inadvisable. &lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2015 17:37:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/how-to-get-list-of-alerts-which-are-disabled-within-24-hours/m-p/114355#M1682</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-08-24T17:37:22Z</dc:date>
    </item>
  </channel>
</rss>

