<?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: I cannot get splunk to ingest my csv files! in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/I-cannot-get-splunk-to-ingest-my-csv-files/m-p/309246#M58170</link>
    <description>&lt;P&gt;Do as @somesoni2 says and clean up the garbage, deploy this &lt;CODE&gt;inputs.conf&lt;/CODE&gt; file to your forwarder, restart all splunk instances on that forwarder, make sure that the files are disappearing (if not, then they are not being forwarded).  MAKE SURE that each file has a different name that is never, ever, ever, ever recycled (that is what the &lt;CODE&gt;crcSalt = &amp;lt;SOURCE&amp;gt;&lt;/CODE&gt; line does).&lt;/P&gt;

&lt;P&gt;Also, your quadruple-asterisks is quite strange; why is it that way?  Are you missing backslash characters between them?  Are you trying to match a file that literally has a string of asterisks for a directory name?  Are you trying to match directories that are 4-characters long?&lt;/P&gt;</description>
    <pubDate>Tue, 23 May 2017 22:03:16 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-05-23T22:03:16Z</dc:date>
    <item>
      <title>I cannot get splunk to ingest my csv files!</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-cannot-get-splunk-to-ingest-my-csv-files/m-p/309244#M58168</link>
      <description>&lt;P&gt;I have some csv files that have 30+ columns and I cannot get splunk to ingest them. I keep getting crc errors. I've tried to use crcSalt and initCrcLength but I keep getting the same error message below in splunkd.log. The files can be very similar sometimes. Anyone have any ideas?&lt;/P&gt;

&lt;P&gt;splunkd.log&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;05-23-2017 16:15:43.313 -0400 ERROR TailReader - File will not be read, seekptr checksum did not match (file=*****\Public\Test\test.csv).  Last time we saw this initcrc, filename was different.  You may wish to use larger initCrcLen for this sourcetype, or 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" target="test_blank"&gt;http://www.splunk.com/page/submit_issue&lt;/A&gt; for more info.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;inputs.conf stanza&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[batch://\****\Public\Test\*.csv]
crcSalt = &amp;lt;SOURCE&amp;gt;
move_policy = sinkhole
sourcetype = pub_audit
index = main
DATETIME_CONFIG = CURRENT
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 May 2017 20:25:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-cannot-get-splunk-to-ingest-my-csv-files/m-p/309244#M58168</guid>
      <dc:creator>jedatt01</dc:creator>
      <dc:date>2017-05-23T20:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: I cannot get splunk to ingest my csv files!</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-cannot-get-splunk-to-ingest-my-csv-files/m-p/309245#M58169</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [batch://\****\Public\Test\*.csv]
 crcSalt = &amp;lt;SOURCE&amp;gt;
 initCrcLength = 4999
 move_policy = sinkhole
 sourcetype = pub_audit
 index = main
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The DATETIME_CONFIG attribute is a props.conf property, not inputs.conf.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 21:27:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-cannot-get-splunk-to-ingest-my-csv-files/m-p/309245#M58169</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-05-23T21:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: I cannot get splunk to ingest my csv files!</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-cannot-get-splunk-to-ingest-my-csv-files/m-p/309246#M58170</link>
      <description>&lt;P&gt;Do as @somesoni2 says and clean up the garbage, deploy this &lt;CODE&gt;inputs.conf&lt;/CODE&gt; file to your forwarder, restart all splunk instances on that forwarder, make sure that the files are disappearing (if not, then they are not being forwarded).  MAKE SURE that each file has a different name that is never, ever, ever, ever recycled (that is what the &lt;CODE&gt;crcSalt = &amp;lt;SOURCE&amp;gt;&lt;/CODE&gt; line does).&lt;/P&gt;

&lt;P&gt;Also, your quadruple-asterisks is quite strange; why is it that way?  Are you missing backslash characters between them?  Are you trying to match a file that literally has a string of asterisks for a directory name?  Are you trying to match directories that are 4-characters long?&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 22:03:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-cannot-get-splunk-to-ingest-my-csv-files/m-p/309246#M58170</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-23T22:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: I cannot get splunk to ingest my csv files!</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-cannot-get-splunk-to-ingest-my-csv-files/m-p/309247#M58171</link>
      <description>&lt;P&gt;The only way I was able to get this to work was to use the CHECK_METHOD = entire_md5 in the props.conf. That is ok because my files are always small.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:11:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-cannot-get-splunk-to-ingest-my-csv-files/m-p/309247#M58171</guid>
      <dc:creator>jedatt01</dc:creator>
      <dc:date>2020-09-29T14:11:40Z</dc:date>
    </item>
  </channel>
</rss>

