<?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: List or View Scheduled searches in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/List-or-View-Scheduled-searches/m-p/241477#M71815</link>
    <description>&lt;P&gt;While early filtering is a good rule of thumb, in this instance remember the "where" command is categorized as a Distributable Streaming search process, so this would also be done at the index level and more importantly can be done BEFORE the final output, so it does not necessarily generate more traffic as Splunk will send it down as well knowing this fact about the "where" command.&lt;/P&gt;

&lt;P&gt;But, like I said, and learned from a great teacher I had, that is generally a good rule of thumb to follow &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Also, the above about Distributable Streaming goes for: eval, fields, rex, where, etc.&lt;/P&gt;

&lt;P&gt;For the curious, here's a great read to understand how searching works wrt different commands:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.3/Search/Typesofcommands"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.3/Search/Typesofcommands&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Jan 2019 03:38:24 GMT</pubDate>
    <dc:creator>trav271</dc:creator>
    <dc:date>2019-01-28T03:38:24Z</dc:date>
    <item>
      <title>List or View Scheduled searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/List-or-View-Scheduled-searches/m-p/241473#M71811</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Does anyone have a search command to find / list all scheduled searches, the time they should run at and the time they ran ? &lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
David&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 14:08:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/List-or-View-Scheduled-searches/m-p/241473#M71811</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2016-01-22T14:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: List or View Scheduled searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/List-or-View-Scheduled-searches/m-p/241474#M71812</link>
      <description>&lt;P&gt;You can view all the scheduled search using&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/saved/searches | where is_scheduled=1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To get a history of scheduled search , check the internal logs&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=scheduler  | table _time user savedsearch_name status scheduled_time run_time result_count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Jan 2016 16:37:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/List-or-View-Scheduled-searches/m-p/241474#M71812</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-01-22T16:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: List or View Scheduled searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/List-or-View-Scheduled-searches/m-p/241475#M71813</link>
      <description>&lt;P&gt;Anyone got any ideas for this issue?!?!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 11:40:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/List-or-View-Scheduled-searches/m-p/241475#M71813</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2018-11-09T11:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: List or View Scheduled searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/List-or-View-Scheduled-searches/m-p/241476#M71814</link>
      <description>&lt;P&gt;As always, Splunk continues to improve and with the improvements, I would suggest a different search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/saved/searches search="is_scheduled=1"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What's the different between this and using &lt;EM&gt;rest&lt;/EM&gt; with &lt;EM&gt;where&lt;/EM&gt;?&lt;BR /&gt;&lt;BR /&gt;
In typically Splunk fashion, the earlier you do filtering, the more efficient the search should be.  This should push the filtering down to the search peers which means they (potentially) return fewer results to the search head.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 18:47:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/List-or-View-Scheduled-searches/m-p/241476#M71814</guid>
      <dc:creator>triest</dc:creator>
      <dc:date>2019-01-07T18:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: List or View Scheduled searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/List-or-View-Scheduled-searches/m-p/241477#M71815</link>
      <description>&lt;P&gt;While early filtering is a good rule of thumb, in this instance remember the "where" command is categorized as a Distributable Streaming search process, so this would also be done at the index level and more importantly can be done BEFORE the final output, so it does not necessarily generate more traffic as Splunk will send it down as well knowing this fact about the "where" command.&lt;/P&gt;

&lt;P&gt;But, like I said, and learned from a great teacher I had, that is generally a good rule of thumb to follow &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Also, the above about Distributable Streaming goes for: eval, fields, rex, where, etc.&lt;/P&gt;

&lt;P&gt;For the curious, here's a great read to understand how searching works wrt different commands:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.3/Search/Typesofcommands"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.3/Search/Typesofcommands&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 03:38:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/List-or-View-Scheduled-searches/m-p/241477#M71815</guid>
      <dc:creator>trav271</dc:creator>
      <dc:date>2019-01-28T03:38:24Z</dc:date>
    </item>
  </channel>
</rss>

