<?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: ignoring the first row (column headers) in a CSV data source in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/ignoring-the-first-row-column-headers-in-a-CSV-data-source/m-p/146683#M29877</link>
    <description>&lt;P&gt;Ah - i see how Props.conf can be configured when but how to i update the associated Transforms.conf file?&lt;/P&gt;

&lt;P&gt;thanks! John&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2013 18:40:05 GMT</pubDate>
    <dc:creator>jgautreau</dc:creator>
    <dc:date>2013-11-18T18:40:05Z</dc:date>
    <item>
      <title>ignoring the first row (column headers) in a CSV data source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ignoring-the-first-row-column-headers-in-a-CSV-data-source/m-p/146680#M29874</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
When i input data from files &amp;amp; directories in splunk, is there a way to ignore the first row (column headers) in a CSV data source?&lt;/P&gt;

&lt;P&gt;Thanks, John&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2013 17:41:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ignoring-the-first-row-column-headers-in-a-CSV-data-source/m-p/146680#M29874</guid>
      <dc:creator>jgautreau</dc:creator>
      <dc:date>2013-11-18T17:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: ignoring the first row (column headers) in a CSV data source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ignoring-the-first-row-column-headers-in-a-CSV-data-source/m-p/146681#M29875</link>
      <description>&lt;P&gt;Can you post an example of the header row?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2013 17:44:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ignoring-the-first-row-column-headers-in-a-CSV-data-source/m-p/146681#M29875</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-18T17:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: ignoring the first row (column headers) in a CSV data source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ignoring-the-first-row-column-headers-in-a-CSV-data-source/m-p/146682#M29876</link>
      <description>&lt;P&gt;You can use props.conf and transforms.conf to remove the header rows.&lt;/P&gt;

&lt;P&gt;For example, if your header row starts with a # character, then the configuration would look like this:&lt;/P&gt;

&lt;P&gt;Create these configs on the indexer.&lt;/P&gt;

&lt;P&gt;Props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype]
TRANSFORMS-removeheader = removeheaderrow
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[removeheaderrow]
REGEX = ^\#.*
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Nov 2013 17:49:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ignoring-the-first-row-column-headers-in-a-CSV-data-source/m-p/146682#M29876</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-18T17:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: ignoring the first row (column headers) in a CSV data source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ignoring-the-first-row-column-headers-in-a-CSV-data-source/m-p/146683#M29877</link>
      <description>&lt;P&gt;Ah - i see how Props.conf can be configured when but how to i update the associated Transforms.conf file?&lt;/P&gt;

&lt;P&gt;thanks! John&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2013 18:40:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ignoring-the-first-row-column-headers-in-a-CSV-data-source/m-p/146683#M29877</guid>
      <dc:creator>jgautreau</dc:creator>
      <dc:date>2013-11-18T18:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: ignoring the first row (column headers) in a CSV data source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ignoring-the-first-row-column-headers-in-a-CSV-data-source/m-p/146684#M29878</link>
      <description>&lt;P&gt;Is the header row always the same?  If so, then just create a regex that matches, and put that in the code I posted in the answer.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2013 18:43:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ignoring-the-first-row-column-headers-in-a-CSV-data-source/m-p/146684#M29878</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-18T18:43:39Z</dc:date>
    </item>
  </channel>
</rss>

