<?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: Why is Splunk not reading old data in a file? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-reading-old-data-in-a-file/m-p/420513#M74028</link>
    <description>&lt;P&gt;Hi ankithnageshshetty,&lt;/P&gt;

&lt;P&gt;check the &lt;CODE&gt;inputs.conf&lt;/CODE&gt; for the following option:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;followTail = [0|1]
* Whether or not the input should skip past current data in a monitored file
  for a given input stanza. This lets you skip over data in files, and
  immediately begin indexing current data.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Defaults to 0 but if set to 1, Splunk will start monitoring at the end of the file - like a &lt;CODE&gt;tail -f ...&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Tue, 09 Oct 2018 01:26:04 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2018-10-09T01:26:04Z</dc:date>
    <item>
      <title>Why is Splunk not reading old data in a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-reading-old-data-in-a-file/m-p/420512#M74027</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;

&lt;P&gt;I recently ran into an issue where our Splunk forwarder is able to read and index the new lines in the file but not the old lines in the file that were written before configuring the monitoring.&lt;/P&gt;

&lt;P&gt;Eg: I set monitor stanza at 3:00 pm for file abc.txt.....so any log that is written after 3:00 is indexed but logs before 3:00 are not indexed.&lt;/P&gt;

&lt;P&gt;I tried again with crcSalt for no luck.&lt;/P&gt;

&lt;P&gt;Any help is much appreciated.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Ankith&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 01:20:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-reading-old-data-in-a-file/m-p/420512#M74027</guid>
      <dc:creator>ankithnageshshe</dc:creator>
      <dc:date>2018-10-09T01:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk not reading old data in a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-reading-old-data-in-a-file/m-p/420513#M74028</link>
      <description>&lt;P&gt;Hi ankithnageshshetty,&lt;/P&gt;

&lt;P&gt;check the &lt;CODE&gt;inputs.conf&lt;/CODE&gt; for the following option:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;followTail = [0|1]
* Whether or not the input should skip past current data in a monitored file
  for a given input stanza. This lets you skip over data in files, and
  immediately begin indexing current data.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Defaults to 0 but if set to 1, Splunk will start monitoring at the end of the file - like a &lt;CODE&gt;tail -f ...&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 01:26:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-reading-old-data-in-a-file/m-p/420513#M74028</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2018-10-09T01:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk not reading old data in a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-reading-old-data-in-a-file/m-p/420514#M74029</link>
      <description>&lt;P&gt;hi @ankithnageshshetly&lt;/P&gt;

&lt;P&gt;Did the answer below solve your problem? If so, please resolve this post by approving it! &lt;BR /&gt;
If your problem is still not solved, keep us updated so that someone else can help ya. Thanks for posting!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 22:12:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-reading-old-data-in-a-file/m-p/420514#M74029</guid>
      <dc:creator>mstjohn_splunk</dc:creator>
      <dc:date>2018-10-09T22:12:48Z</dc:date>
    </item>
  </channel>
</rss>

