<?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: monitoring file in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/monitoring-file/m-p/85082#M17702</link>
    <description>&lt;P&gt;I do that now for several of my log files...&lt;/P&gt;</description>
    <pubDate>Sat, 06 Nov 2010 02:56:24 GMT</pubDate>
    <dc:creator>Brian_Osburn</dc:creator>
    <dc:date>2010-11-06T02:56:24Z</dc:date>
    <item>
      <title>monitoring file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/monitoring-file/m-p/85080#M17700</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I was just wondering if Splunk can be sceheduled to monitor a file regularly, and send out alerts if this file does not get updated for a specific time period , lets say for 5 minutes.
Please help me in doing so, if possible.&lt;/P&gt;

&lt;P&gt;Thanks,
Nitin.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Nov 2010 02:33:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/monitoring-file/m-p/85080#M17700</guid>
      <dc:creator>nvashish123</dc:creator>
      <dc:date>2010-11-06T02:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/monitoring-file/m-p/85081#M17701</link>
      <description>&lt;P&gt;Yes, sort-of.  I am assuming this file is a logfile, and there are timestamped events in it.  If Splunk is indexing this log file you could schedule a saved search with a conditional alert in Splunk that does something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source=/path/to/my/log/file host=host.my.logfile.is.on earliest=-5m@m 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And only fires the alert if the results returned are &amp;lt;= 0.  &lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Setupalertsinsavedsearches.conf" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Setupalertsinsavedsearches.conf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Nov 2010 02:54:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/monitoring-file/m-p/85081#M17701</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2010-11-06T02:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/monitoring-file/m-p/85082#M17702</link>
      <description>&lt;P&gt;I do that now for several of my log files...&lt;/P&gt;</description>
      <pubDate>Sat, 06 Nov 2010 02:56:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/monitoring-file/m-p/85082#M17702</guid>
      <dc:creator>Brian_Osburn</dc:creator>
      <dc:date>2010-11-06T02:56:24Z</dc:date>
    </item>
  </channel>
</rss>

