<?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: crcsalt for small files in same dir? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/crcsalt-for-small-files-in-same-dir/m-p/62723#M12540</link>
    <description>&lt;P&gt;Try changing the index from &lt;CODE&gt;_internal&lt;/CODE&gt; to &lt;CODE&gt;main&lt;/CODE&gt;. The logs are probably getting lost in the internal indexes.  &lt;CODE&gt;_internal&lt;/CODE&gt; should stay reserved for Splunk Data Only. Your crcSalt is correct, because it adds the Filename  and path to the salt, so each salt is (FullPath+ First256Bytes).  Once you correct the index, try searching for it again.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Dec 2012 16:18:58 GMT</pubDate>
    <dc:creator>alacercogitatus</dc:creator>
    <dc:date>2012-12-13T16:18:58Z</dc:date>
    <item>
      <title>crcsalt for small files in same dir?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/crcsalt-for-small-files-in-same-dir/m-p/62722#M12539</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;

&lt;P&gt;quick question if I may. I am having a directory full of CSV files that I'm trying to index on a linux splunk forwarder as follows:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[root@localhost]# /opt/splunkforwarder/bin/splunk cmd btool inputs list monitor&lt;BR /&gt;
[monitor:///home/logfiles]&lt;BR /&gt;
_rcvbuf = 1572864&lt;BR /&gt;
crcSalt = &amp;amp;lt; SOURCE &amp;amp;gt;&lt;BR /&gt;
disabled = false&lt;BR /&gt;
host = myhost.lan&lt;BR /&gt;
index = _internal&lt;BR /&gt;
sourcetype = my_sourcetype&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Stanza gets parsed as per splunkd.log, but I don't see anything indexed. There are maybe 20 csv files in the directory, some of them with matching md5sums of first 256 bytes, so I hoped crcSalt would help me out here, alas, no dice.  Yes, there are no spaces around "SOURCE", &lt;/P&gt;

&lt;P&gt;I tried to reset the fishbucket for a random file via btprobe -d --reset ...., didn't change a whole lot. No error (or any) messages in my splunkd.log, it's perfectly content not indexing anything.&lt;BR /&gt;
I was thinking about this initcrclength parameter, but I found out it's only splunk 5.0 compatible.&lt;/P&gt;

&lt;P&gt;Could any of you splunk wise ladies/gentlemen offer a piece of advice?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2012 15:56:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/crcsalt-for-small-files-in-same-dir/m-p/62722#M12539</guid>
      <dc:creator>juraj</dc:creator>
      <dc:date>2012-12-13T15:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: crcsalt for small files in same dir?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/crcsalt-for-small-files-in-same-dir/m-p/62723#M12540</link>
      <description>&lt;P&gt;Try changing the index from &lt;CODE&gt;_internal&lt;/CODE&gt; to &lt;CODE&gt;main&lt;/CODE&gt;. The logs are probably getting lost in the internal indexes.  &lt;CODE&gt;_internal&lt;/CODE&gt; should stay reserved for Splunk Data Only. Your crcSalt is correct, because it adds the Filename  and path to the salt, so each salt is (FullPath+ First256Bytes).  Once you correct the index, try searching for it again.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2012 16:18:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/crcsalt-for-small-files-in-same-dir/m-p/62723#M12540</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2012-12-13T16:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: crcsalt for small files in same dir?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/crcsalt-for-small-files-in-same-dir/m-p/62724#M12541</link>
      <description>&lt;P&gt;That did it, thanks a lot!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2012 17:44:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/crcsalt-for-small-files-in-same-dir/m-p/62724#M12541</guid>
      <dc:creator>juraj</dc:creator>
      <dc:date>2012-12-13T17:44:31Z</dc:date>
    </item>
  </channel>
</rss>

