<?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 Alert on file age in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Alert-on-file-age/m-p/166462#M2720</link>
    <description>&lt;P&gt;I would like to know if it is possible to be alerted if a file is older then a specific time frame.  We have files that are written down every 5 minutes.  I would like to be alerted if the age of the file is in excess of 7 minutes. &lt;/P&gt;

&lt;P&gt;Any input would be appreciated.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2013 16:26:40 GMT</pubDate>
    <dc:creator>diegosainz</dc:creator>
    <dc:date>2013-12-04T16:26:40Z</dc:date>
    <item>
      <title>Alert on file age</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-on-file-age/m-p/166462#M2720</link>
      <description>&lt;P&gt;I would like to know if it is possible to be alerted if a file is older then a specific time frame.  We have files that are written down every 5 minutes.  I would like to be alerted if the age of the file is in excess of 7 minutes. &lt;/P&gt;

&lt;P&gt;Any input would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2013 16:26:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-on-file-age/m-p/166462#M2720</guid>
      <dc:creator>diegosainz</dc:creator>
      <dc:date>2013-12-04T16:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Alert on file age</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-on-file-age/m-p/166463#M2721</link>
      <description>&lt;P&gt;You probably want something that checks _time vs _indexedtime. &lt;/P&gt;

&lt;P&gt;... | eval diff = _indexedtime - _time | where diff &amp;gt; 5*60*1000&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2013 16:35:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-on-file-age/m-p/166463#M2721</guid>
      <dc:creator>aholzer</dc:creator>
      <dc:date>2013-12-04T16:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Alert on file age</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-on-file-age/m-p/166464#M2722</link>
      <description>&lt;P&gt;Try following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|metadata type=sources index=* | eval age=now()-recentTime | where age&amp;gt;420
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This lists all the sources (files indexed in Splunk) which were last accessed 420 sec (7 min) ago. You can setup alert when this search returns rows.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2013 16:37:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-on-file-age/m-p/166464#M2722</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-12-04T16:37:48Z</dc:date>
    </item>
  </channel>
</rss>

