<?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 delimited with double quotes and seperated by comma. Header in every field in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/CSV-delimited-with-double-quotes-and-seperated-by-comma-Header/m-p/102342#M21472</link>
    <description>&lt;P&gt;That is not the correct, de facto, format for CSV.  CSV under normal circumstances should have a header per column, and subsequent records of column-specific values.  It seems an odd way to represent it.  You would be better off stripping the quotes and simply importing it as a raw file.  Splunk will, like as not, correctly interpret your fields with no further processing.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2013 20:06:00 GMT</pubDate>
    <dc:creator>grijhwani</dc:creator>
    <dc:date>2013-10-16T20:06:00Z</dc:date>
    <item>
      <title>CSV delimited with double quotes and seperated by comma. Header in every field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-delimited-with-double-quotes-and-seperated-by-comma-Header/m-p/102341#M21471</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm having trouble importing Fortinet log CSV file delimited with double quotes and seperated by comma. The header is included in every field:&lt;/P&gt;

&lt;P&gt;"itime=1381384446","date=2013-10-10","time=06:54:06","devid=FG800C1234501000","vd=root","type=traffic","subtype=forward"&lt;/P&gt;

&lt;P&gt;The data is not interpreted properly, resulting in one field per line and automatically generated "interesting fields" which make no distinction between the header and value.&lt;/P&gt;

&lt;P&gt;Every line has the same number of fields. Please help. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 19:49:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-delimited-with-double-quotes-and-seperated-by-comma-Header/m-p/102341#M21471</guid>
      <dc:creator>davem1984</dc:creator>
      <dc:date>2013-10-16T19:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: CSV delimited with double quotes and seperated by comma. Header in every field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-delimited-with-double-quotes-and-seperated-by-comma-Header/m-p/102342#M21472</link>
      <description>&lt;P&gt;That is not the correct, de facto, format for CSV.  CSV under normal circumstances should have a header per column, and subsequent records of column-specific values.  It seems an odd way to represent it.  You would be better off stripping the quotes and simply importing it as a raw file.  Splunk will, like as not, correctly interpret your fields with no further processing.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 20:06:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-delimited-with-double-quotes-and-seperated-by-comma-Header/m-p/102342#M21472</guid>
      <dc:creator>grijhwani</dc:creator>
      <dc:date>2013-10-16T20:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: CSV delimited with double quotes and seperated by comma. Header in every field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-delimited-with-double-quotes-and-seperated-by-comma-Header/m-p/102343#M21473</link>
      <description>&lt;P&gt;Even better, use &lt;CODE&gt;INDEXED_EXTRACTIONS=CSV&lt;/CODE&gt; in props.conf.  This should auto-detect the quotes around the events and headers and adjust accordingly.  If not, there are controls in header-based index-time field extraction you can use to adjust like &lt;CODE&gt;FIELD_QUOTE&lt;/CODE&gt; and &lt;CODE&gt;HEADER_FIELD_QUOTE&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Extractfieldsfromfileheadersatindextime"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Extractfieldsfromfileheadersatindextime&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Note this only works in Splunk 6.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2014 16:15:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-delimited-with-double-quotes-and-seperated-by-comma-Header/m-p/102343#M21473</guid>
      <dc:creator>ogdin</dc:creator>
      <dc:date>2014-02-13T16:15:36Z</dc:date>
    </item>
  </channel>
</rss>

