<?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: CSV imports, headers as fields? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/CSV-imports-headers-as-fields/m-p/178115#M35714</link>
    <description>&lt;P&gt;The quotes worked. -_-&lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2013 15:42:26 GMT</pubDate>
    <dc:creator>mcrawford44</dc:creator>
    <dc:date>2013-12-16T15:42:26Z</dc:date>
    <item>
      <title>CSV imports, headers as fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-imports-headers-as-fields/m-p/178111#M35710</link>
      <description>&lt;P&gt;All,&lt;/P&gt;

&lt;P&gt;I have been following this documentation;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/Data/Extractfieldsfromfileheadersatindextime"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/Data/Extractfieldsfromfileheadersatindextime&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;No combination of props.conf settings appears to be working.  Here is the data template of the file I am attempting to bring in;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Header1|Header2|Header3|Header4    
DataA|DataB|DataC|DataD
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My assumed props.conf;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SourceTypeName]
FIELD_DELIMITER=|
NO_BINARY_CHECK=1
SHOULD_LINEMERGE=false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any ideas?  I can edit the props.conf during the data add "wizard" and it updates the local conf file appropriately, however each event is still shown as a single line without field information;&lt;/P&gt;

&lt;P&gt;Can't post images so replace the 'xx' with 'tt'; hxxp://i.imgur.com/vAKOJFY.png&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2013 14:42:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-imports-headers-as-fields/m-p/178111#M35710</guid>
      <dc:creator>mcrawford44</dc:creator>
      <dc:date>2013-12-13T14:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: CSV imports, headers as fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-imports-headers-as-fields/m-p/178112#M35711</link>
      <description>&lt;P&gt;Have you tried quotes around the pipe?  &lt;CODE&gt;"|"&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2013 15:03:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-imports-headers-as-fields/m-p/178112#M35711</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-12-13T15:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: CSV imports, headers as fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-imports-headers-as-fields/m-p/178113#M35712</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;[SourceTypeName]
FIELD_DELIMITER = "|"
CHECK_FOR_HEADER = true
HEADER_MODE = firstline
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 15 Dec 2013 16:14:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-imports-headers-as-fields/m-p/178113#M35712</guid>
      <dc:creator>ShaneNewman</dc:creator>
      <dc:date>2013-12-15T16:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: CSV imports, headers as fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-imports-headers-as-fields/m-p/178114#M35713</link>
      <description>&lt;P&gt;The quotes worked. -_-&lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2013 15:42:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-imports-headers-as-fields/m-p/178114#M35713</guid>
      <dc:creator>mcrawford44</dc:creator>
      <dc:date>2013-12-16T15:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: CSV imports, headers as fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-imports-headers-as-fields/m-p/178115#M35714</link>
      <description>&lt;P&gt;The quotes worked. -_-&lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2013 15:42:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-imports-headers-as-fields/m-p/178115#M35714</guid>
      <dc:creator>mcrawford44</dc:creator>
      <dc:date>2013-12-16T15:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: CSV imports, headers as fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-imports-headers-as-fields/m-p/178116#M35715</link>
      <description>&lt;P&gt;You don't want to use &lt;CODE&gt;CHECK_FOR_HEADER&lt;/CODE&gt; in combination with indexed extractions.  &lt;CODE&gt;CHECK_FOR_HEADER&lt;/CODE&gt; is a deprecated technique we used for search-time field extractions.&lt;/P&gt;

&lt;P&gt;In props.conf, use:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
FIELD_DELIMITER=|&lt;BR /&gt;
HEADER_FIELD_DELIMITER=|&lt;BR /&gt;
INDEXED_EXTRACTIONS=psv&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2014 15:56:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-imports-headers-as-fields/m-p/178116#M35715</guid>
      <dc:creator>ogdin</dc:creator>
      <dc:date>2014-02-13T15:56:04Z</dc:date>
    </item>
  </channel>
</rss>

