<?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 can't Splunk index some files in a directory? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132386#M27233</link>
    <description>&lt;P&gt;I found a solution to my own problem. I need to add:&lt;BR /&gt;
crcSalt = &lt;BR /&gt;
initCrcLength = 2000&lt;/P&gt;</description>
    <pubDate>Fri, 10 Apr 2015 15:45:39 GMT</pubDate>
    <dc:creator>edrivera3</dc:creator>
    <dc:date>2015-04-10T15:45:39Z</dc:date>
    <item>
      <title>Why can't Splunk index some files in a directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132375#M27222</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I am trying to index a file from different subdirectory but Splunk is not indexing some of those files for some weird reason. All subdirectories contain different files but I am just interested in a file with an specific extension (.tir) so I am using a whilelist (.tir$). Splunk indexed almost all files but there are some files that Splunk just didn't index.  Do you know a reason why is this happening? &lt;/P&gt;

&lt;P&gt;I examined the files and they are normal (Same type data, same type format, and same extension).&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2015 15:38:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132375#M27222</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2015-04-09T15:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't Splunk index some files in a directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132376#M27223</link>
      <description>&lt;P&gt;I checked the current size of the index (36MB) and the event count (1,854) which look normal.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2015 15:43:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132376#M27223</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2015-04-09T15:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't Splunk index some files in a directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132377#M27224</link>
      <description>&lt;P&gt;Please use below code in monitor stanza&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;whiltelist = (*.tir)$
recursive = true
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Apr 2015 15:46:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132377#M27224</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2015-04-09T15:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't Splunk index some files in a directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132378#M27225</link>
      <description>&lt;P&gt;I am already indexing recursively but Splunk is not indexing for some subdirectories.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2015 15:53:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132378#M27225</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2015-04-09T15:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't Splunk index some files in a directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132379#M27226</link>
      <description>&lt;P&gt;Can you please check on forwarder with below command whether all files with (.tlr) is showing or not in command output?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; $SPLUNK_HOME/bin/splunk list monitor
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Apr 2015 16:08:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132379#M27226</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2015-04-09T16:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't Splunk index some files in a directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132380#M27227</link>
      <description>&lt;P&gt;I'm working with Windows OS.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2015 16:19:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132380#M27227</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2015-04-09T16:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't Splunk index some files in a directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132381#M27228</link>
      <description>&lt;P&gt;Then use below command&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk.exe list monitor
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For example: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;C:\Program Files\SplunkUniversalForwarder\bin&amp;gt;splunk.exe list monitor
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Apr 2015 16:22:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132381#M27228</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2015-04-09T16:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't Splunk index some files in a directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132382#M27229</link>
      <description>&lt;P&gt;Well in Splunk&amp;gt;Data Input&amp;gt; Files &amp;amp; Directory appears that there 4835 files which contain the .tir extension and they are supposed to be indexed.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2015 16:23:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132382#M27229</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2015-04-09T16:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't Splunk index some files in a directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132383#M27230</link>
      <description>&lt;P&gt;I was examining the files and I noticed that there are very similar, almost the same. Is it possible that Splunk believed I am duplicating a file? If so, how could I change it so Splunk would index the file?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2015 16:39:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132383#M27230</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2015-04-09T16:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't Splunk index some files in a directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132384#M27231</link>
      <description>&lt;P&gt;I didn't solve the problem. I checked the wrong index... &lt;/P&gt;

&lt;P&gt;Anyway I tried to use CHECK_METHOD AND crcSalt but they didn't change anything.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2015 18:28:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132384#M27231</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2015-04-09T18:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't Splunk index some files in a directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132385#M27232</link>
      <description>&lt;P&gt;But I found many errors in index=_internal which is weird because I tried using crcSalt =  and the problem wasn't resolve. Looks like I have added these files previously which is wrong because I just created the index.&lt;/P&gt;

&lt;P&gt;ERROR TailingProcessor - File will not be read, seekptr checksum did not match (file=C:\blah\blah\30343.tir).  Last time we saw this initcrc, filename was different.  You may wish to use a CRC salt on this source.  Consult the documentation or file a support case online at &lt;A href="http://www.splunk.com/page/submit_issue"&gt;http://www.splunk.com/page/submit_issue&lt;/A&gt; for more info.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2015 20:27:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132385#M27232</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2015-04-09T20:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't Splunk index some files in a directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132386#M27233</link>
      <description>&lt;P&gt;I found a solution to my own problem. I need to add:&lt;BR /&gt;
crcSalt = &lt;BR /&gt;
initCrcLength = 2000&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2015 15:45:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132386#M27233</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2015-04-10T15:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't Splunk index some files in a directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132387#M27234</link>
      <description>&lt;P&gt;What exactly does the setting do ?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 22:46:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132387#M27234</guid>
      <dc:creator>nawazns5038</dc:creator>
      <dc:date>2018-11-13T22:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't Splunk index some files in a directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132388#M27235</link>
      <description>&lt;P&gt;Essentially how many bytes in Splunk will check at the beginning of a file to try to uniquely identify it.&lt;/P&gt;

&lt;P&gt;From: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf&lt;/A&gt;&lt;BR /&gt;
initCrcLength = &lt;BR /&gt;
* How much of a file, in bytes, that the input reads before trying to&lt;BR /&gt;
  identify whether it is a file that has already been seen. You might want to&lt;BR /&gt;
  adjust this if you have many files with common headers (comment headers,&lt;BR /&gt;
  long CSV headers, etc) and recurring filenames.&lt;BR /&gt;
* Cannot be less than 256 or more than 1048576.&lt;BR /&gt;
* CAUTION: Improper use of this setting will cause data to be re-indexed. You&lt;BR /&gt;
  might want to consult with Splunk Support before adjusting this value - the&lt;BR /&gt;
  default is fine for most installations.&lt;BR /&gt;
* Default: 256 (bytes).&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 02:59:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-can-t-Splunk-index-some-files-in-a-directory/m-p/132388#M27235</guid>
      <dc:creator>bandit</dc:creator>
      <dc:date>2018-11-14T02:59:09Z</dc:date>
    </item>
  </channel>
</rss>

