<?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: Splunk not reading the new file created after 2 months in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-reading-the-new-file-created-after-2-months/m-p/407636#M94497</link>
    <description>&lt;P&gt;Are you monitoring the rolled log files? (check the &lt;CODE&gt;[monitor://&lt;/CODE&gt; in your inputs.conf). If you're not, those files will not be monitored/indexed.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jun 2018 16:25:22 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2018-06-29T16:25:22Z</dc:date>
    <item>
      <title>Splunk not reading the new file created after 2 months</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-reading-the-new-file-created-after-2-months/m-p/407631#M94492</link>
      <description>&lt;P&gt;Hello Splunkers,&lt;/P&gt;

&lt;P&gt;I have a situation where in a log file is created by the application after a long duration of 2 months.&lt;/P&gt;

&lt;P&gt;I found no error in splunkd log for this specific file. Neither I found "WatchedFile" event for this file.&lt;BR /&gt;
I'm sure that the issue is not due to initcrclen or crcSALT as the log file is new and splunkd log does not have any information on this.&lt;/P&gt;

&lt;P&gt;After restarting the agent I finally get the following splunkd log info&lt;/P&gt;

&lt;P&gt;06-28-2018 15:20:24.560 -0400 INFO  WatchedFile - Checksum for seekptr didn't match, will re-read entire file='XXX.log'&lt;/P&gt;

&lt;P&gt;However the old data is still not indexed and I do not have new data flowing in to the log file.&lt;/P&gt;

&lt;P&gt;Can some one explain this situation.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Ankith&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 21:37:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-reading-the-new-file-created-after-2-months/m-p/407631#M94492</guid>
      <dc:creator>ankithnageshshe</dc:creator>
      <dc:date>2018-06-28T21:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk not reading the new file created after 2 months</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-reading-the-new-file-created-after-2-months/m-p/407632#M94493</link>
      <description>&lt;P&gt;can you share the inputs.conf?&lt;BR /&gt;
do you have: &lt;CODE&gt;ignoreOlderThan&lt;/CODE&gt; attribute there?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 23:49:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-reading-the-new-file-created-after-2-months/m-p/407632#M94493</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-06-28T23:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk not reading the new file created after 2 months</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-reading-the-new-file-created-after-2-months/m-p/407633#M94494</link>
      <description>&lt;P&gt;Hello Adonio,&lt;/P&gt;

&lt;P&gt;Thanks for your reply. Yes I have a parameter ignoreOlderThan= 14 days. &lt;BR /&gt;
Is this the cause?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 13:35:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-reading-the-new-file-created-after-2-months/m-p/407633#M94494</guid>
      <dc:creator>ankithnageshshe</dc:creator>
      <dc:date>2018-06-29T13:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk not reading the new file created after 2 months</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-reading-the-new-file-created-after-2-months/m-p/407634#M94495</link>
      <description>&lt;P&gt;Yes, with ignoreOlderThan, once a file is ignored from monitoring, it will stay ignored (won't be monitored) even if it gets some new data. When you restart Splunk, it re-evaluates the monitoring that needs to be done and will pick that file if it still newer than the ignoreOlderThan setting.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 15:01:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-reading-the-new-file-created-after-2-months/m-p/407634#M94495</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-06-29T15:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk not reading the new file created after 2 months</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-reading-the-new-file-created-after-2-months/m-p/407635#M94496</link>
      <description>&lt;P&gt;Hi Somesoni2,&lt;/P&gt;

&lt;P&gt;Thanks for the clarification. I'm trying to understand why splunk has not indexed the data even after the restart.&lt;BR /&gt;
Situation: April 8th last log flow (after this file is rotated)&lt;BR /&gt;
                  June 26th  new log flow&lt;BR /&gt;
                  Splunk doesnt perform watchedfile on this file.&lt;BR /&gt;
                  After restart splunk performs watchedfile on this from the beginning of the file but the earlier data is not indexed.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 16:02:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-reading-the-new-file-created-after-2-months/m-p/407635#M94496</guid>
      <dc:creator>ankithnageshshe</dc:creator>
      <dc:date>2018-06-29T16:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk not reading the new file created after 2 months</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-reading-the-new-file-created-after-2-months/m-p/407636#M94497</link>
      <description>&lt;P&gt;Are you monitoring the rolled log files? (check the &lt;CODE&gt;[monitor://&lt;/CODE&gt; in your inputs.conf). If you're not, those files will not be monitored/indexed.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 16:25:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-reading-the-new-file-created-after-2-months/m-p/407636#M94497</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-06-29T16:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk not reading the new file created after 2 months</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-reading-the-new-file-created-after-2-months/m-p/407637#M94498</link>
      <description>&lt;P&gt;You need to adjust &lt;CODE&gt;MAX_DAYS_AGO&lt;/CODE&gt; to cover your span, clear the fishbucket, and then restart the UF.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jun 2018 04:07:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-reading-the-new-file-created-after-2-months/m-p/407637#M94498</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-06-30T04:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk not reading the new file created after 2 months</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-reading-the-new-file-created-after-2-months/m-p/407638#M94499</link>
      <description>&lt;P&gt;Hello Woodcock,&lt;/P&gt;

&lt;P&gt;Thanks for the reply.&lt;BR /&gt;
I figured out that the issue is not due to the "ignoreolderthan" attribute as the issue appeared again.&lt;/P&gt;

&lt;P&gt;It happened that splunk even skipped to watch one of the newly created file ( logs rotated every hour) without any error on the log file.&lt;/P&gt;

&lt;P&gt;There is no configuration issue/ permission issue /port /network issue as other log file on the same path is read by the splunk. Also since rotation is 1 hour , ignoreolderthan attribute will not  come in to picture. &lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 13:44:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-reading-the-new-file-created-after-2-months/m-p/407638#M94499</guid>
      <dc:creator>ankithnageshshe</dc:creator>
      <dc:date>2018-07-03T13:44:32Z</dc:date>
    </item>
  </channel>
</rss>

