<?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: File with Header not getting indexed in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112640#M23612</link>
    <description>&lt;P&gt;beware that this option is valid only for a stanza like [source::filename]&lt;/P&gt;</description>
    <pubDate>Mon, 31 Mar 2014 13:07:59 GMT</pubDate>
    <dc:creator>marcoscala</dc:creator>
    <dc:date>2014-03-31T13:07:59Z</dc:date>
    <item>
      <title>File with Header not getting indexed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112637#M23609</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;[test_header]
INDEXED_EXTRACTIONS = CSV
HEADER_FIELD_LINE_NUMBER = 1
KV_MODE = none
NO_BINARY_CHECK = 1
SHOULD_LINEMERGE = false
pulldown_type = 1
TRANSFORMS-NoHeader = test_header
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;First file gets indexed accordingly with only the data captured and header ignored, but subsequent files are not indexed at all.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 05:58:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112637#M23609</guid>
      <dc:creator>Parameshwara</dc:creator>
      <dc:date>2014-03-31T05:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: File with Header not getting indexed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112638#M23610</link>
      <description>&lt;P&gt;what does your inputs.conf look like?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 07:11:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112638#M23610</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2014-03-31T07:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: File with Header not getting indexed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112639#M23611</link>
      <description>&lt;P&gt;Add "CHECK_METHOD = entire_md5" to props.conf file and retry.&lt;/P&gt;

&lt;P&gt;Splunk, by default, check the first and last 256 bytes of the file. When it's finds matches, Splunk lists the file as already indexed and indexes only new data, or ignores it if there is no new data.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.2/admin/Propsconf" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.2/admin/Propsconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:16:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112639#M23611</guid>
      <dc:creator>miteshvohra</dc:creator>
      <dc:date>2020-09-28T16:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: File with Header not getting indexed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112640#M23612</link>
      <description>&lt;P&gt;beware that this option is valid only for a stanza like [source::filename]&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 13:07:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112640#M23612</guid>
      <dc:creator>marcoscala</dc:creator>
      <dc:date>2014-03-31T13:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: File with Header not getting indexed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112641#M23613</link>
      <description>&lt;P&gt;I had a similar problem due to the first 260 chars in the file being alway the same due to long headers.&lt;/P&gt;

&lt;P&gt;I solved this in the inputs.conf like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///........./appdir/SD*.ERR_*.Z]
disabled = false
followTail = 0
sourcetype = my_sourcetype
initCrcLength = 330
crcSalt = &amp;lt;SOURCE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In my case, we had thousands of file being written in the same "appdir" and severa times the "ERR" files were skipped because of same headers.&lt;/P&gt;

&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 13:11:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112641#M23613</guid>
      <dc:creator>marcoscala</dc:creator>
      <dc:date>2014-03-31T13:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: File with Header not getting indexed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112642#M23614</link>
      <description>&lt;P&gt;[monitor:...]&lt;BR /&gt;
    disabled = false&lt;BR /&gt;
    followTail = 0&lt;BR /&gt;
    host = testheader&lt;BR /&gt;
    index = testheader&lt;BR /&gt;
    sourcetype = testheader&lt;/P&gt;

&lt;P&gt;Above is my inputs.conf. I'll check out the "CHECK_METHOD = entire_md5" option, and thanks for pointing out the correct stanza it works with.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:17:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112642#M23614</guid>
      <dc:creator>Parameshwara</dc:creator>
      <dc:date>2020-09-28T16:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: File with Header not getting indexed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112643#M23615</link>
      <description>&lt;P&gt;I'll test out the suggested configuration. &lt;/P&gt;

&lt;P&gt;I installed a new instance of Splunk 6.02 on my laptop, created a test app and using the same configurations tried pulling in data for indexing the same set of files. It WORKED! My header is 433 characters. I'm a bit stumped, but feel like this is a bug.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 23:38:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112643#M23615</guid>
      <dc:creator>Parameshwara</dc:creator>
      <dc:date>2014-03-31T23:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: File with Header not getting indexed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112644#M23616</link>
      <description>&lt;P&gt;I'll test out the suggested configuration. &lt;/P&gt;

&lt;P&gt;I installed a new instance of Splunk 6.02 on my laptop, created a test app and using the same configurations tried pulling in data for indexing the same set of files. It WORKED! My header is 433 characters. I'm a bit stumped, but feel like this is a bug.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 23:39:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112644#M23616</guid>
      <dc:creator>Parameshwara</dc:creator>
      <dc:date>2014-03-31T23:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: File with Header not getting indexed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112645#M23617</link>
      <description>&lt;P&gt;Using "checkMethod" and "initCrcLength" is better than using "crcSalt". Be cautious about using &lt;CRCSALT&gt; attribute with rolling log files; it could lead to the log file being re-indexed after it has rolled over and in turn, consume your indexing license as well.&lt;/CRCSALT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2014 04:34:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112645#M23617</guid>
      <dc:creator>miteshvohra</dc:creator>
      <dc:date>2014-04-01T04:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: File with Header not getting indexed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112646#M23618</link>
      <description>&lt;P&gt;At the moment I'm not using crcSalt setting, as mentioned I don't want any possibility of logs being re-indexed. &lt;/P&gt;

&lt;P&gt;My working configuration...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;PROPS.CONF:
[host::testcsvwithheader]
CHECK_METHOD = entire_md5
HEADER_FIELD_LINE_NUMBER = 1
INDEXED_EXTRACTIONS = CSV
KV_MODE = none
NO_BINARY_CHECK = 1
SHOULD_LINEMERGE = false
pulldown_type = 1
REPORT-AutoHeader = skipheader

INPUTS.CONF
[monitor:///...]
disabled = false
followTail = 0
host = testcsvwithheader
index = test
sourcetype = testcsvwithheader
initCrcLength = 654
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Apr 2014 01:57:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112646#M23618</guid>
      <dc:creator>Parameshwara</dc:creator>
      <dc:date>2014-04-02T01:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: File with Header not getting indexed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112647#M23619</link>
      <description>&lt;P&gt;Read about crcSalt option and decided not to use that. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 01:58:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-with-Header-not-getting-indexed/m-p/112647#M23619</guid>
      <dc:creator>Parameshwara</dc:creator>
      <dc:date>2014-04-02T01:58:15Z</dc:date>
    </item>
  </channel>
</rss>

