<?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 File has not been indexed since 9/1/2010 in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/File-has-not-been-indexed-since-9-1-2010/m-p/83162#M17264</link>
    <description>&lt;P&gt;Version 4.0.11&lt;/P&gt;

&lt;P&gt;I have a number of .CSV files in my log folder on a light forwarder. Unfortunately at least one of them has not been indexed/forwarded since September 1st. Now that I am about to do a major demo I discover this fact.&lt;/P&gt;

&lt;P&gt;How do I get splunk to forward/index this file? It changes every morning. There is no header on the file. Today's file looks like this:&lt;/P&gt;

&lt;PRE&gt;
AE-327RA-MIB-000.pdf
A1-L18AC-747-200.pdf
AE-325RA-MIB-000.pdf
A1-E6AAB-MRC-100.pdf
A1-AM2BB-SRM-200.pdf
17-600-220-6-2.pdf
17-15R-1.pdf
17-600-220-6-1.pdf
16-35ON655-1.pdf
01-75GAJ-23FI-20-1.pdf
13-1-6-3-1.pdf
01-75GAJ-6.pdf
01-75GAJ-4-79-1.pdf
&lt;/PRE&gt;

&lt;P&gt;This list of files is passed into a form where the user can select the file and see when it was downloaded. Since it is not being indexed the user has noting to select from.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Nov 2010 02:14:35 GMT</pubDate>
    <dc:creator>kmattern</dc:creator>
    <dc:date>2010-11-04T02:14:35Z</dc:date>
    <item>
      <title>File has not been indexed since 9/1/2010</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-has-not-been-indexed-since-9-1-2010/m-p/83162#M17264</link>
      <description>&lt;P&gt;Version 4.0.11&lt;/P&gt;

&lt;P&gt;I have a number of .CSV files in my log folder on a light forwarder. Unfortunately at least one of them has not been indexed/forwarded since September 1st. Now that I am about to do a major demo I discover this fact.&lt;/P&gt;

&lt;P&gt;How do I get splunk to forward/index this file? It changes every morning. There is no header on the file. Today's file looks like this:&lt;/P&gt;

&lt;PRE&gt;
AE-327RA-MIB-000.pdf
A1-L18AC-747-200.pdf
AE-325RA-MIB-000.pdf
A1-E6AAB-MRC-100.pdf
A1-AM2BB-SRM-200.pdf
17-600-220-6-2.pdf
17-15R-1.pdf
17-600-220-6-1.pdf
16-35ON655-1.pdf
01-75GAJ-23FI-20-1.pdf
13-1-6-3-1.pdf
01-75GAJ-6.pdf
01-75GAJ-4-79-1.pdf
&lt;/PRE&gt;

&lt;P&gt;This list of files is passed into a form where the user can select the file and see when it was downloaded. Since it is not being indexed the user has noting to select from.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2010 02:14:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-has-not-been-indexed-since-9-1-2010/m-p/83162#M17264</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2010-11-04T02:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: File has not been indexed since 9/1/2010</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-has-not-been-indexed-since-9-1-2010/m-p/83163#M17265</link>
      <description>&lt;P&gt;By default, Splunk is going to look at the CRC values of the beginning and end of the file. If your file does not change much, this may not be enough.&lt;/P&gt;

&lt;P&gt;Assuming the filename is always the same, the simplest solution is to look solely at the timestamp instead. In &lt;B&gt;props.conf&lt;/B&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source:///path/to/yoursourcefile]
CHECK_METHOD = modtime
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will cause Splunk to re-index the file every time the modification timestamp changes, rather than looking at the content.&lt;/P&gt;

&lt;P&gt;If the filename changes, the &lt;CODE&gt;crcSalt&lt;/CODE&gt; option in &lt;CODE&gt;inputs.conf&lt;/CODE&gt; is another possibility.&lt;/P&gt;

&lt;P&gt;You can also look at this link if you want to dig deeper into the root cause - there are some debugging options that can be turned on to provide more information:
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;A href="http://www.splunk.com/wiki/Community:Troubleshooting_Monitor_Inputs" rel="nofollow"&gt;http://www.splunk.com/wiki/Community:Troubleshooting_Monitor_Inputs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2010 08:49:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-has-not-been-indexed-since-9-1-2010/m-p/83163#M17265</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2010-11-04T08:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: File has not been indexed since 9/1/2010</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-has-not-been-indexed-since-9-1-2010/m-p/83164#M17266</link>
      <description>&lt;P&gt;Thanks. That was just what I needed!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2010 20:19:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-has-not-been-indexed-since-9-1-2010/m-p/83164#M17266</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2010-11-04T20:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: File has not been indexed since 9/1/2010</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-has-not-been-indexed-since-9-1-2010/m-p/83165#M17267</link>
      <description>&lt;P&gt;It still didn't work for all the files. In checking the software that creates the files I found a bug that prevented all but one file from being updated. Patched the software and now it works just fine. I still like setting the CHECK_METHOD = modtime just to insure the files will be indexed.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2010 22:16:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-has-not-been-indexed-since-9-1-2010/m-p/83165#M17267</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2010-11-05T22:16:51Z</dc:date>
    </item>
  </channel>
</rss>

