<?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: Anyone know of a way of finding the last modified date/time of a saved search/report in Splunk? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Anyone-know-of-a-way-of-finding-the-last-modified-date-time-of-a/m-p/270550#M190066</link>
    <description>&lt;P&gt;Just a small update on this, based on some background discussion with @martin_mueller:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;the sourcetype could also be &lt;CODE&gt;splunkd_ui_access&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;set up processes for modifying production splunk, show processes are followed, done and sprinkle some git, chef, etc around&lt;/LI&gt;
&lt;LI&gt;if someone fiddles with &lt;CODE&gt;savedsearches.conf&lt;/CODE&gt; any other way you will not get it in &lt;CODE&gt;_internal&lt;/CODE&gt; because it only covers REST calls&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Wed, 30 Mar 2016 23:14:27 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2016-03-30T23:14:27Z</dc:date>
    <item>
      <title>Anyone know of a way of finding the last modified date/time of a saved search/report in Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Anyone-know-of-a-way-of-finding-the-last-modified-date-time-of-a/m-p/270548#M190064</link>
      <description>&lt;P&gt;I have an audit request to show the last time a report was modified.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Jeremy&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 20:02:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Anyone-know-of-a-way-of-finding-the-last-modified-date-time-of-a/m-p/270548#M190064</guid>
      <dc:creator>zindain24</dc:creator>
      <dc:date>2016-03-30T20:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone know of a way of finding the last modified date/time of a saved search/report in Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Anyone-know-of-a-way-of-finding-the-last-modified-date-time-of-a/m-p/270549#M190065</link>
      <description>&lt;P&gt;Hi zindain24,&lt;/P&gt;

&lt;P&gt;How about this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="_internal" (sourcetype=splunkd_access "POST /servicesNS/" "/search/saved/searches") file!="notify"
| table _time clientip user file | rename file AS saved_search
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will create a table containing time, clientip, user and the saved_search name.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 20:29:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Anyone-know-of-a-way-of-finding-the-last-modified-date-time-of-a/m-p/270549#M190065</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-03-30T20:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone know of a way of finding the last modified date/time of a saved search/report in Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Anyone-know-of-a-way-of-finding-the-last-modified-date-time-of-a/m-p/270550#M190066</link>
      <description>&lt;P&gt;Just a small update on this, based on some background discussion with @martin_mueller:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;the sourcetype could also be &lt;CODE&gt;splunkd_ui_access&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;set up processes for modifying production splunk, show processes are followed, done and sprinkle some git, chef, etc around&lt;/LI&gt;
&lt;LI&gt;if someone fiddles with &lt;CODE&gt;savedsearches.conf&lt;/CODE&gt; any other way you will not get it in &lt;CODE&gt;_internal&lt;/CODE&gt; because it only covers REST calls&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 23:14:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Anyone-know-of-a-way-of-finding-the-last-modified-date-time-of-a/m-p/270550#M190066</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-03-30T23:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone know of a way of finding the last modified date/time of a saved search/report in Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Anyone-know-of-a-way-of-finding-the-last-modified-date-time-of-a/m-p/270551#M190067</link>
      <description>&lt;P&gt;Thanks MuS!  Here is what I ended up with:&lt;/P&gt;

&lt;P&gt;index="_internal" NOT 201 NOT 400 (sourcetype=splunkd_access "POST /servicesNS/" "/search/saved/searches") NOT notify| rex "(?enable|disable)\s" | convert ctime(_time) as time |rex "saved/searches/(?\S+?)[\/|\s]" |rex "^(?:[0-9]{1,3}.){3}[0-9]{1,3}\s-\s(?\w+)" |rex "(?\d+)ms" |table time, User, SearchName, Action, MSExecutionTime | fillnull value="modify/save" |rename MSExecutionTime AS ExecutionTime(ms)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:14:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Anyone-know-of-a-way-of-finding-the-last-modified-date-time-of-a/m-p/270551#M190067</guid>
      <dc:creator>zindain24</dc:creator>
      <dc:date>2020-09-29T09:14:10Z</dc:date>
    </item>
  </channel>
</rss>

