<?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: Need query to see all alerts in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-search-to-see-all-alerts/m-p/653835#M17047</link>
    <description>&lt;P&gt;You can use the rest api to get the saved searches and look at the cron schedule&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest splunk_server=local /servicesNS/-/-/saved/searches 
| where disabled=0 AND is_scheduled=1 
| fields title cron_schedule next_scheduled_time&lt;/LI-CODE&gt;&lt;P&gt;then you can do what you need to do with that data&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2023 00:10:47 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2023-08-10T00:10:47Z</dc:date>
    <item>
      <title>How to create a search to see all alerts?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-search-to-see-all-alerts/m-p/653828#M17045</link>
      <description>&lt;P&gt;We have many alerts setup in Splunk, so how can I get the list of alerts corn scheduled for 10mins&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 21:37:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-search-to-see-all-alerts/m-p/653828#M17045</guid>
      <dc:creator>vishwa</dc:creator>
      <dc:date>2023-08-10T21:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need query to see all alerts</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-search-to-see-all-alerts/m-p/653834#M17046</link>
      <description>&lt;P&gt;Please check this post..&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Search/How-to-find-all-searches-that-are-scheduled-to-run-every-hour/m-p/178652" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Search/How-to-find-all-searches-that-are-scheduled-to-run-every-hour/m-p/178652&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 00:10:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-search-to-see-all-alerts/m-p/653834#M17046</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2023-08-10T00:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need query to see all alerts</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-search-to-see-all-alerts/m-p/653835#M17047</link>
      <description>&lt;P&gt;You can use the rest api to get the saved searches and look at the cron schedule&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest splunk_server=local /servicesNS/-/-/saved/searches 
| where disabled=0 AND is_scheduled=1 
| fields title cron_schedule next_scheduled_time&lt;/LI-CODE&gt;&lt;P&gt;then you can do what you need to do with that data&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 00:10:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-search-to-see-all-alerts/m-p/653835#M17047</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-08-10T00:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need query to see all alerts</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-search-to-see-all-alerts/m-p/653944#M17064</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;, thank you for the query&lt;/P&gt;&lt;P&gt;But I am getting all the alerts how can I add filter to see only 10 mins scheduled alerts&lt;/P&gt;&lt;P&gt;I tried using search or where command for cron scheduled field but it not coming.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 13:59:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-search-to-see-all-alerts/m-p/653944#M17064</guid>
      <dc:creator>vishwa</dc:creator>
      <dc:date>2023-08-10T13:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need query to see all alerts</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-search-to-see-all-alerts/m-p/653993#M17067</link>
      <description>&lt;P&gt;Can you explain what you mean by&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN&gt;to see only 10 mins scheduled alerts&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Does that mean alerts that are scheduled to run in the next 10 minutes or alerts that are scheduled to run every 10 minutes or...?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 23:34:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-search-to-see-all-alerts/m-p/653993#M17067</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-08-10T23:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need query to see all alerts</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-search-to-see-all-alerts/m-p/653997#M17068</link>
      <description>&lt;P&gt;I want to see the list of&amp;nbsp; alerts&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;that are scheduled to run every 10 minutes&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 00:40:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-search-to-see-all-alerts/m-p/653997#M17068</guid>
      <dc:creator>vishwa</dc:creator>
      <dc:date>2023-08-11T00:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need query to see all alerts</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-search-to-see-all-alerts/m-p/654002#M17070</link>
      <description>&lt;P&gt;You need to look at the minute part of the cron schedule, for example you could do this at the end of the other search I gave to you&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval ten_minute_schedule=if(match(cron_schedule, "^\*/10"), 1, 0)
| where ten_minute_schedule=1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 03:14:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-search-to-see-all-alerts/m-p/654002#M17070</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-08-11T03:14:41Z</dc:date>
    </item>
  </channel>
</rss>

