<?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 CSV file not extracting properly when there is empty value for a field in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-extracting-properly-when-there-is-empty-value-for-a/m-p/533340#M89583</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have a CSV file with the following header and values in it. There are some empty values for a field too. The line which has an empty field value isn't extracting correctly.&lt;/P&gt;&lt;P&gt;Ex: Field1&amp;nbsp; Field2&amp;nbsp; Field3&amp;nbsp; Field4&amp;nbsp;&amp;nbsp;Field5&amp;nbsp; &amp;nbsp;Field6&amp;nbsp; &amp;nbsp;Field7&amp;nbsp; Field8&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; abc&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gfdj&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8583&amp;nbsp; &amp;nbsp;djhcsh&amp;nbsp; jdcjhd&amp;nbsp; &amp;nbsp;dcu&amp;nbsp; &amp;nbsp; &amp;nbsp; jxnchsdi&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;dabc&amp;nbsp; &amp;nbsp; &amp;nbsp; 1423&amp;nbsp; &amp;nbsp;ggfdj&amp;nbsp; &amp;nbsp; &amp;nbsp;98583&amp;nbsp; kjdcjhd&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nchsdi&amp;nbsp; &amp;nbsp; &amp;nbsp;sjdkvv&lt;/P&gt;&lt;P&gt;In the example the line 1 is extracting properly, but the line 2 where the field6 is empty isn't extracting properly.&lt;/P&gt;&lt;P&gt;Any help is appreciated. Thanks&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My props.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[sourcetype]&lt;BR /&gt;INDEXED_EXTRACTIONS = CSV&lt;BR /&gt;FIELD_DELIMITER=,&lt;BR /&gt;HEADER_FIELD_LINE_NUMBER = 1&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2020 15:33:56 GMT</pubDate>
    <dc:creator>satvika</dc:creator>
    <dc:date>2020-12-16T15:33:56Z</dc:date>
    <item>
      <title>CSV file not extracting properly when there is empty value for a field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-extracting-properly-when-there-is-empty-value-for-a/m-p/533340#M89583</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have a CSV file with the following header and values in it. There are some empty values for a field too. The line which has an empty field value isn't extracting correctly.&lt;/P&gt;&lt;P&gt;Ex: Field1&amp;nbsp; Field2&amp;nbsp; Field3&amp;nbsp; Field4&amp;nbsp;&amp;nbsp;Field5&amp;nbsp; &amp;nbsp;Field6&amp;nbsp; &amp;nbsp;Field7&amp;nbsp; Field8&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; abc&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gfdj&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8583&amp;nbsp; &amp;nbsp;djhcsh&amp;nbsp; jdcjhd&amp;nbsp; &amp;nbsp;dcu&amp;nbsp; &amp;nbsp; &amp;nbsp; jxnchsdi&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;dabc&amp;nbsp; &amp;nbsp; &amp;nbsp; 1423&amp;nbsp; &amp;nbsp;ggfdj&amp;nbsp; &amp;nbsp; &amp;nbsp;98583&amp;nbsp; kjdcjhd&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nchsdi&amp;nbsp; &amp;nbsp; &amp;nbsp;sjdkvv&lt;/P&gt;&lt;P&gt;In the example the line 1 is extracting properly, but the line 2 where the field6 is empty isn't extracting properly.&lt;/P&gt;&lt;P&gt;Any help is appreciated. Thanks&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My props.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[sourcetype]&lt;BR /&gt;INDEXED_EXTRACTIONS = CSV&lt;BR /&gt;FIELD_DELIMITER=,&lt;BR /&gt;HEADER_FIELD_LINE_NUMBER = 1&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 15:33:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-extracting-properly-when-there-is-empty-value-for-a/m-p/533340#M89583</guid>
      <dc:creator>satvika</dc:creator>
      <dc:date>2020-12-16T15:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file not extracting properly when there is empty value for a field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-extracting-properly-when-there-is-empty-value-for-a/m-p/533349#M89587</link>
      <description>&lt;P&gt;Can you share the raw form of the CSV (with commas rather than spaces)?&lt;/P&gt;&lt;P&gt;How is line 2 not extracting properly?&amp;nbsp; What are you getting compared to what you expect to get?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 18:02:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-extracting-properly-when-there-is-empty-value-for-a/m-p/533349#M89587</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-12-16T18:02:56Z</dc:date>
    </item>
  </channel>
</rss>

