<?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 how to skip header file in csv in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-skip-header-file-in-csv/m-p/434634#M173349</link>
    <description>&lt;P&gt;i have a csv file with header column"Name","CapacityGB","FreeSpaceGB"  with the line number 1.&lt;/P&gt;

&lt;P&gt;This header is also coming along with the next line as one single event:&lt;/P&gt;

&lt;P&gt;I have used the below props.conf:&lt;/P&gt;

&lt;P&gt;[xxxxx]&lt;BR /&gt;
INDEXED_EXTRACTIONS = CSV&lt;BR /&gt;
DATETIME_CONFIG = CURRENT&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
SHOULD_LINEMERGE = true&lt;BR /&gt;
MUST_BREAK_AFTER = (\,\"\d+.\d+\"$)&lt;BR /&gt;
FIELD_DELIMITER=,&lt;BR /&gt;
FIELD_QUOTE="&lt;/P&gt;

&lt;P&gt;ISSUE:&lt;/P&gt;

&lt;P&gt;1/27/19&lt;BR /&gt;
4:31:01.000 AM&lt;BR /&gt;&lt;BR /&gt;
"Name","CapacityGB","FreeSpaceGB"&lt;BR /&gt;
"xxxxxx","1008.374375","486.1959375"&lt;/P&gt;

&lt;P&gt;Please let me know how to exclude the header file.&lt;/P&gt;

&lt;P&gt;Do i have to update anything on props.conf?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 22:59:52 GMT</pubDate>
    <dc:creator>Gayathirikuppus</dc:creator>
    <dc:date>2020-09-29T22:59:52Z</dc:date>
    <item>
      <title>how to skip header file in csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-skip-header-file-in-csv/m-p/434634#M173349</link>
      <description>&lt;P&gt;i have a csv file with header column"Name","CapacityGB","FreeSpaceGB"  with the line number 1.&lt;/P&gt;

&lt;P&gt;This header is also coming along with the next line as one single event:&lt;/P&gt;

&lt;P&gt;I have used the below props.conf:&lt;/P&gt;

&lt;P&gt;[xxxxx]&lt;BR /&gt;
INDEXED_EXTRACTIONS = CSV&lt;BR /&gt;
DATETIME_CONFIG = CURRENT&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
SHOULD_LINEMERGE = true&lt;BR /&gt;
MUST_BREAK_AFTER = (\,\"\d+.\d+\"$)&lt;BR /&gt;
FIELD_DELIMITER=,&lt;BR /&gt;
FIELD_QUOTE="&lt;/P&gt;

&lt;P&gt;ISSUE:&lt;/P&gt;

&lt;P&gt;1/27/19&lt;BR /&gt;
4:31:01.000 AM&lt;BR /&gt;&lt;BR /&gt;
"Name","CapacityGB","FreeSpaceGB"&lt;BR /&gt;
"xxxxxx","1008.374375","486.1959375"&lt;/P&gt;

&lt;P&gt;Please let me know how to exclude the header file.&lt;/P&gt;

&lt;P&gt;Do i have to update anything on props.conf?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:59:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-skip-header-file-in-csv/m-p/434634#M173349</guid>
      <dc:creator>Gayathirikuppus</dc:creator>
      <dc:date>2020-09-29T22:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to skip header file in csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-skip-header-file-in-csv/m-p/434635#M173350</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;have a look at this, and make sure you set this on your forwarder.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/586952/how-to-skip-header-in-csv-files-before-indexing.html"&gt;https://answers.splunk.com/answers/586952/how-to-skip-header-in-csv-files-before-indexing.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 17:24:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-skip-header-file-in-csv/m-p/434635#M173350</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2019-01-28T17:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to skip header file in csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-skip-header-file-in-csv/m-p/434636#M173351</link>
      <description>&lt;P&gt;you may want to add the following in your props.conf your sourcetype to try and exclude the header being added to events.&lt;/P&gt;

&lt;P&gt;HEADER_FIELD_LINE_NUMBER=1&lt;BR /&gt;
PREAMBLE_REGEX=^\"[a-zA-Z\,\"]+&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:58:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-skip-header-file-in-csv/m-p/434636#M173351</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2020-09-29T22:58:13Z</dc:date>
    </item>
  </channel>
</rss>

