<?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 Why my csv file indexed only the header ? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-my-csv-file-indexed-only-the-header/m-p/534499#M89697</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a script which output a csv file :&amp;nbsp;&lt;/P&gt;&lt;P&gt;id,name,env,start,end&lt;/P&gt;&lt;P&gt;1234,test,[env]:dev,2020-12-31 18:07,2020-12-31 19:07&lt;/P&gt;&lt;P&gt;The first line is the header and ALL lines in file must be reindexed each time there is a modification (adding or a suppression).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an inputs.conf like this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;[monitor:///opt/splunk/etc/apps/my_app/bin/my_csv.csv]&lt;BR /&gt;index = test&lt;BR /&gt;sourcetype = st&lt;BR /&gt;disabled = 0&lt;BR /&gt;initCrcLength = 3000&lt;/P&gt;&lt;P&gt;I have a props.conf like :&amp;nbsp;&lt;/P&gt;&lt;P&gt;[st]&lt;BR /&gt;DATETIME_CONFIG =&lt;BR /&gt;INDEXED_EXTRACTIONS = csv&lt;BR /&gt;KV_MODE = none&lt;BR /&gt;NO_BINARY_CHECK = true&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;category = Structured&lt;BR /&gt;description = Comma-separated value format. Set header and other settings in "Delimited Settings"&lt;BR /&gt;disabled = false&lt;BR /&gt;pulldown_type = true&lt;/P&gt;&lt;P&gt;The indexation is really weird : it actually index only the header :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mah_0-1609348826223.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12402i36712108358A5B21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mah_0-1609348826223.png" alt="mah_0-1609348826223.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you help me please ?&lt;/P&gt;&lt;P&gt;Thank a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Dec 2020 17:22:56 GMT</pubDate>
    <dc:creator>mah</dc:creator>
    <dc:date>2020-12-30T17:22:56Z</dc:date>
    <item>
      <title>Why my csv file indexed only the header ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-my-csv-file-indexed-only-the-header/m-p/534499#M89697</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a script which output a csv file :&amp;nbsp;&lt;/P&gt;&lt;P&gt;id,name,env,start,end&lt;/P&gt;&lt;P&gt;1234,test,[env]:dev,2020-12-31 18:07,2020-12-31 19:07&lt;/P&gt;&lt;P&gt;The first line is the header and ALL lines in file must be reindexed each time there is a modification (adding or a suppression).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an inputs.conf like this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;[monitor:///opt/splunk/etc/apps/my_app/bin/my_csv.csv]&lt;BR /&gt;index = test&lt;BR /&gt;sourcetype = st&lt;BR /&gt;disabled = 0&lt;BR /&gt;initCrcLength = 3000&lt;/P&gt;&lt;P&gt;I have a props.conf like :&amp;nbsp;&lt;/P&gt;&lt;P&gt;[st]&lt;BR /&gt;DATETIME_CONFIG =&lt;BR /&gt;INDEXED_EXTRACTIONS = csv&lt;BR /&gt;KV_MODE = none&lt;BR /&gt;NO_BINARY_CHECK = true&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;category = Structured&lt;BR /&gt;description = Comma-separated value format. Set header and other settings in "Delimited Settings"&lt;BR /&gt;disabled = false&lt;BR /&gt;pulldown_type = true&lt;/P&gt;&lt;P&gt;The indexation is really weird : it actually index only the header :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mah_0-1609348826223.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12402i36712108358A5B21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mah_0-1609348826223.png" alt="mah_0-1609348826223.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you help me please ?&lt;/P&gt;&lt;P&gt;Thank a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 17:22:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-my-csv-file-indexed-only-the-header/m-p/534499#M89697</guid>
      <dc:creator>mah</dc:creator>
      <dc:date>2020-12-30T17:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why my csv file indexed only the header ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-my-csv-file-indexed-only-the-header/m-p/605290#M105223</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/222120"&gt;@mah&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;did you fixed the problem? Im currently facing the same.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 11:36:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-my-csv-file-indexed-only-the-header/m-p/605290#M105223</guid>
      <dc:creator>FlorianScho</dc:creator>
      <dc:date>2022-07-12T11:36:01Z</dc:date>
    </item>
  </channel>
</rss>

