<?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 splunk is not able to index large csv files, in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-splunk-is-not-able-to-index-large-csv-files/m-p/338298#M62456</link>
    <description>&lt;P&gt;what configuration you have done to index this csv?&lt;BR /&gt;
If connectivity and all is there then&lt;BR /&gt;
add following command in your splunkforwarder using cli&lt;BR /&gt;
    ./splunk add monitor &lt;PATH-TO-YOUR-FILE&gt; -index index_name -sourcetype csv&lt;/PATH-TO-YOUR-FILE&gt;&lt;/P&gt;

&lt;P&gt;also on the indexer create the same index that you specified as index_name&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2017 07:15:49 GMT</pubDate>
    <dc:creator>mayurr98</dc:creator>
    <dc:date>2017-12-13T07:15:49Z</dc:date>
    <item>
      <title>Why splunk is not able to index large csv files,</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-splunk-is-not-able-to-index-large-csv-files/m-p/338297#M62455</link>
      <description>&lt;P&gt;I'm trying to index a 3.5 GB csv file, but splunk is not reading it. Any clues ?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 21:19:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-splunk-is-not-able-to-index-large-csv-files/m-p/338297#M62455</guid>
      <dc:creator>premforsplunk</dc:creator>
      <dc:date>2017-12-12T21:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why splunk is not able to index large csv files,</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-splunk-is-not-able-to-index-large-csv-files/m-p/338298#M62456</link>
      <description>&lt;P&gt;what configuration you have done to index this csv?&lt;BR /&gt;
If connectivity and all is there then&lt;BR /&gt;
add following command in your splunkforwarder using cli&lt;BR /&gt;
    ./splunk add monitor &lt;PATH-TO-YOUR-FILE&gt; -index index_name -sourcetype csv&lt;/PATH-TO-YOUR-FILE&gt;&lt;/P&gt;

&lt;P&gt;also on the indexer create the same index that you specified as index_name&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 07:15:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-splunk-is-not-able-to-index-large-csv-files/m-p/338298#M62456</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2017-12-13T07:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why splunk is not able to index large csv files,</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-splunk-is-not-able-to-index-large-csv-files/m-p/338299#M62457</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;

&lt;P&gt;You can add the below configuration parameters in your limits.conf file of your app.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[kv]
limit =
maxcols =
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The default values for limit is 100 and maxcols is 512. You should try indexing your csv by increasing the default values.&lt;/P&gt;

&lt;P&gt;Link for your reference.&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.1/Admin/Limitsconf"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.1/Admin/Limitsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 09:41:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-splunk-is-not-able-to-index-large-csv-files/m-p/338299#M62457</guid>
      <dc:creator>MousumiChowdhur</dc:creator>
      <dc:date>2017-12-20T09:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why splunk is not able to index large csv files,</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-splunk-is-not-able-to-index-large-csv-files/m-p/338300#M62458</link>
      <description>&lt;P&gt;I had to do this once for a huge CSV, but I also has to prune a few rows, and didn't need half the columns, (so not exactly the same as your requirement)&lt;/P&gt;

&lt;P&gt;I actually opted to do this with a python scripted input, which allowed me to pre-process the file as it went in, and dumped to stdout as key=value pairs.&lt;BR /&gt;
Once it was completed I disabled the input, but it meant I had the ability to run it again if ever needed. &lt;BR /&gt;
I never did need it again, but even so, It was time well spent making sure the data was concise when it went in.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 09:53:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-splunk-is-not-able-to-index-large-csv-files/m-p/338300#M62458</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2017-12-20T09:53:42Z</dc:date>
    </item>
  </channel>
</rss>

