<?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: History of a saved search in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/History-of-a-saved-search/m-p/36372#M688</link>
    <description>&lt;P&gt;can you please try the one I just added to the answer?  I think maybe in comments the code doesn't format properly.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Nov 2012 22:49:35 GMT</pubDate>
    <dc:creator>okrabbe_splunk</dc:creator>
    <dc:date>2012-11-15T22:49:35Z</dc:date>
    <item>
      <title>History of a saved search</title>
      <link>https://community.splunk.com/t5/Reporting/History-of-a-saved-search/m-p/36367#M683</link>
      <description>&lt;P&gt;Is it possible to get the history of when a saved search was executed?  This will allow me to see if the cron schedule is working correctly.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 21:34:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/History-of-a-saved-search/m-p/36367#M683</guid>
      <dc:creator>peter_gianusso</dc:creator>
      <dc:date>2012-11-15T21:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: History of a saved search</title>
      <link>https://community.splunk.com/t5/Reporting/History-of-a-saved-search/m-p/36368#M684</link>
      <description>&lt;P&gt;Any chance you are on Splunk 5?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| history
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Returns a history of searches formatted as an events list or as a table.&lt;/P&gt;

&lt;P&gt;For 4.3 please try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit ( splunk_server=local) action=search (id=* OR search_id=*)
| eval search_id=if(isnull(search_id), id, search_id)
| replace '*' with * in search_id
| search search_id!=rt_* search_id!=searchparsetmp*
| rex "search='(?&amp;lt;search&amp;gt;.*?)', autojoin"
| rex "savedsearch_name=\"(?&amp;lt;savedsearch_name&amp;gt;.*?)\"\]\["￼
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Nov 2012 22:09:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/History-of-a-saved-search/m-p/36368#M684</guid>
      <dc:creator>okrabbe_splunk</dc:creator>
      <dc:date>2012-11-15T22:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: History of a saved search</title>
      <link>https://community.splunk.com/t5/Reporting/History-of-a-saved-search/m-p/36369#M685</link>
      <description>&lt;P&gt;No I am on the latest 4.x version.  That shows the contents of searches.log which does not contain the name of the saved search.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 22:11:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/History-of-a-saved-search/m-p/36369#M685</guid>
      <dc:creator>peter_gianusso</dc:creator>
      <dc:date>2012-11-15T22:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: History of a saved search</title>
      <link>https://community.splunk.com/t5/Reporting/History-of-a-saved-search/m-p/36370#M686</link>
      <description>&lt;P&gt;Here is a search I stole from SoS.&lt;BR /&gt;&lt;BR /&gt;
    &lt;CODE&gt;index=_audit ( splunk_server=local) action=search (id=* OR search_id=*)&lt;BR /&gt;
    | eval search_id=if(isnull(search_id), id, search_id)&lt;BR /&gt;
    | replace '*' with * in search_id&lt;BR /&gt;
    | search search_id!=rt_* search_id!=searchparsetmp*&lt;BR /&gt;
    | rex "search='(?&amp;lt;search&amp;gt;.*?)', autojoin"&lt;BR /&gt;
    | rex "savedsearch_name=\"(?&amp;lt;savedsearch_name&amp;gt;.*?)\"\]\["&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 22:17:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/History-of-a-saved-search/m-p/36370#M686</guid>
      <dc:creator>okrabbe_splunk</dc:creator>
      <dc:date>2012-11-15T22:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: History of a saved search</title>
      <link>https://community.splunk.com/t5/Reporting/History-of-a-saved-search/m-p/36371#M687</link>
      <description>&lt;P&gt;Error:  Error in 'search' command: Unable to parse the search: Comparator '=' has an invalid term on the right hand side&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 22:31:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/History-of-a-saved-search/m-p/36371#M687</guid>
      <dc:creator>peter_gianusso</dc:creator>
      <dc:date>2012-11-15T22:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: History of a saved search</title>
      <link>https://community.splunk.com/t5/Reporting/History-of-a-saved-search/m-p/36372#M688</link>
      <description>&lt;P&gt;can you please try the one I just added to the answer?  I think maybe in comments the code doesn't format properly.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 22:49:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/History-of-a-saved-search/m-p/36372#M688</guid>
      <dc:creator>okrabbe_splunk</dc:creator>
      <dc:date>2012-11-15T22:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: History of a saved search</title>
      <link>https://community.splunk.com/t5/Reporting/History-of-a-saved-search/m-p/36373#M689</link>
      <description>&lt;P&gt;a simple approach would be to look at scheduler.log&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2012 16:14:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/History-of-a-saved-search/m-p/36373#M689</guid>
      <dc:creator>peter_gianusso</dc:creator>
      <dc:date>2012-11-16T16:14:09Z</dc:date>
    </item>
  </channel>
</rss>

