<?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: Create Saved Search For A Files Time Stamp in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Create-Saved-Search-For-A-Files-Time-Stamp/m-p/53463#M179712</link>
    <description>&lt;P&gt;You can look at &lt;CODE&gt;_indextime&lt;/CODE&gt; to see when the file was forwarded but the only way to get the timestamp of the file is if it is encoded in the filename or in data inside the file.  But you could do something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=myIndex (source=source1 OR source=source2) | stats latest(_time) AS latestTime BY source | eval waitingSecs = now() -  latestTime | where watingSecs &amp;gt; 1200
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then save this search as an alert and run it every X minutes for the last hour (-1h) and have it email you whenever numevents&amp;gt;0.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jun 2015 04:37:29 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-06-30T04:37:29Z</dc:date>
    <item>
      <title>Create Saved Search For A Files Time Stamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-Saved-Search-For-A-Files-Time-Stamp/m-p/53462#M179711</link>
      <description>&lt;P&gt;Splunk univerisal forwarder is installed on a linux server.  This server is indexing a number of files.  I need to create  a Saved Search to search on the time stamp of two of the files.  If the time stamp of the files is 20 minutes old then it tells me a process is not running on the Linux server.&lt;/P&gt;

&lt;P&gt;Would anyone know how to create such a saved search.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2012 14:56:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-Saved-Search-For-A-Files-Time-Stamp/m-p/53462#M179711</guid>
      <dc:creator>itsquinj</dc:creator>
      <dc:date>2012-01-18T14:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create Saved Search For A Files Time Stamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-Saved-Search-For-A-Files-Time-Stamp/m-p/53463#M179712</link>
      <description>&lt;P&gt;You can look at &lt;CODE&gt;_indextime&lt;/CODE&gt; to see when the file was forwarded but the only way to get the timestamp of the file is if it is encoded in the filename or in data inside the file.  But you could do something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=myIndex (source=source1 OR source=source2) | stats latest(_time) AS latestTime BY source | eval waitingSecs = now() -  latestTime | where watingSecs &amp;gt; 1200
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then save this search as an alert and run it every X minutes for the last hour (-1h) and have it email you whenever numevents&amp;gt;0.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2015 04:37:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-Saved-Search-For-A-Files-Time-Stamp/m-p/53463#M179712</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-30T04:37:29Z</dc:date>
    </item>
  </channel>
</rss>

