<?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: Why is my Splunk forwarder not extracting CSV file fields? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Splunk-forwarder-not-extracting-CSV-file-fields/m-p/260562#M78168</link>
    <description>&lt;P&gt;The forwarder was running 4.2. Doh!&lt;BR /&gt;
I've upgraded it and the problem is resolved. Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2016 15:54:42 GMT</pubDate>
    <dc:creator>606866581</dc:creator>
    <dc:date>2016-02-02T15:54:42Z</dc:date>
    <item>
      <title>Why is my Splunk forwarder not extracting CSV file fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Splunk-forwarder-not-extracting-CSV-file-fields/m-p/260560#M78166</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I've configured my forwarder's /etc/system/local/props.conf as such:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mysourcetype]
INDEXED_EXTRACTIONS=CSV
FIELD_QUOTE="
FIELD_DELIMITER=,
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;outputs.conf is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = hostname23
[monitor:///qwerty/*]
index = myindex
disabled = false
followTail = 0
sourcetype = mysourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And my indexer has its props.conf as:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mysourcetype]
INDEXED_EXTRACTIONS=CSV
FIELD_QUOTE="
FIELD_DELIMITER=,
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, the events aren't being treated as CSVs, but rather, a generic log, so my headers have appeared as an actual event.&lt;/P&gt;

&lt;P&gt;Any help is appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 12:35:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Splunk-forwarder-not-extracting-CSV-file-fields/m-p/260560#M78166</guid>
      <dc:creator>606866581</dc:creator>
      <dc:date>2016-02-02T12:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my Splunk forwarder not extracting CSV file fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Splunk-forwarder-not-extracting-CSV-file-fields/m-p/260561#M78167</link>
      <description>&lt;P&gt;First, we'll assume you mean inputs.conf when you specified outputs.conf above.  Also, your forwarder and indexer versions need to support indexed extractions (you didn't specify the versions you are running).&lt;/P&gt;

&lt;P&gt;Have you tried it just without the FIELD_QUOTE and FIELD_DELIMITER settings?  Both the values you have there are normal values for A CSV file.  If you set the FIELD_* values you might then also have to set the same values for the HEADER_FIELD_QUOTE and HEADER_FIELD_DELIMITER.  &lt;/P&gt;

&lt;P&gt;You should also set SHOULD_LINEMERGE = False since these are single-line log entries and KV_MODE = none to disable automatic search time field extraction.  The KV_MODE value should also go on your search head, or else you may see duplicate fields (both the index-time extracted field and the search time extracted fields).&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:38:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Splunk-forwarder-not-extracting-CSV-file-fields/m-p/260561#M78167</guid>
      <dc:creator>Jeremiah</dc:creator>
      <dc:date>2020-09-29T08:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my Splunk forwarder not extracting CSV file fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Splunk-forwarder-not-extracting-CSV-file-fields/m-p/260562#M78168</link>
      <description>&lt;P&gt;The forwarder was running 4.2. Doh!&lt;BR /&gt;
I've upgraded it and the problem is resolved. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 15:54:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Splunk-forwarder-not-extracting-CSV-file-fields/m-p/260562#M78168</guid>
      <dc:creator>606866581</dc:creator>
      <dc:date>2016-02-02T15:54:42Z</dc:date>
    </item>
  </channel>
</rss>

