<?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: get source files not updated in last 1 hour in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/get-source-files-not-updated-in-last-1-hour/m-p/220503#M98873</link>
    <description>&lt;P&gt;Something like this should work `| where age&amp;gt;3600 AND match(source, "/logs/(abc|def).&lt;/P&gt;

&lt;P&gt;You could also do something like this to limit to a specific host(s)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* host=abc source=*abc* OR source=*def* earliest=-1h@h | stats count by source | where count=0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 22 Apr 2016 14:56:20 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-04-22T14:56:20Z</dc:date>
    <item>
      <title>get source files not updated in last 1 hour</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/get-source-files-not-updated-in-last-1-hour/m-p/220502#M98872</link>
      <description>&lt;P&gt;I want to get source files not updated in last 1 hour in specific host. Like in host java123 there are 2 logs /logs/abc.txt, /logs/def.txt. If they didn't update from past 1 hour i want an alert. how can i achive this.. I tried below one but it is showing all logs from all hosts.&lt;/P&gt;

&lt;P&gt;| metadata index=* type=sources | eval age = now()- lastTime | where age &amp;gt; 3600&lt;/P&gt;

&lt;P&gt;How to specify search for specific source files.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 14:00:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/get-source-files-not-updated-in-last-1-hour/m-p/220502#M98872</guid>
      <dc:creator>nani2rahul</dc:creator>
      <dc:date>2016-04-22T14:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: get source files not updated in last 1 hour</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/get-source-files-not-updated-in-last-1-hour/m-p/220503#M98873</link>
      <description>&lt;P&gt;Something like this should work `| where age&amp;gt;3600 AND match(source, "/logs/(abc|def).&lt;/P&gt;

&lt;P&gt;You could also do something like this to limit to a specific host(s)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* host=abc source=*abc* OR source=*def* earliest=-1h@h | stats count by source | where count=0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Apr 2016 14:56:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/get-source-files-not-updated-in-last-1-hour/m-p/220503#M98873</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-04-22T14:56:20Z</dc:date>
    </item>
  </channel>
</rss>

