<?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 are fields not extracted at index-time pulling a CSV file into Splunk with my current configuration? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-are-fields-not-extracted-at-index-time-pulling-a-CSV-file/m-p/181517#M52310</link>
    <description>&lt;P&gt;By default, [source::] and [] stanzas match in a case-sensitive manner,&lt;BR /&gt;
while [host::] stanzas match in a case-insensitive manner. This is a convenient default,&lt;BR /&gt;
given that DNS names are case-insensitive.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jan 2015 15:04:36 GMT</pubDate>
    <dc:creator>jayannah</dc:creator>
    <dc:date>2015-01-12T15:04:36Z</dc:date>
    <item>
      <title>Why are fields not extracted at index-time pulling a CSV file into Splunk with my current configuration?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-fields-not-extracted-at-index-time-pulling-a-CSV-file/m-p/181516#M52309</link>
      <description>&lt;P&gt;I’m trying to pull a CSV file into Splunk with the fields extracted at index-time.  My environment consist of multiple indexers with a master node, single search head, and a forwarder where the CSV file is at.&lt;BR /&gt;
On the master and all the indexers is a props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[CSVData]
FIELD_NAMES = “Field1”,  “Field2”, “Field3”, “Field4”, “Field5”, “Field6”, “Field7”, “Field8”
FIELD_DELIMITER = ","
INDEXED_EXTRACTIONS = csv
CHECK_FOR_HEADER = false
KV_MODE = none
NO_BINARY_CHECK = false
SHOULD_LINEMERGE = false
TIMESTAMP_FIELDS = TIMESTAMP
pulldown_type = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On the forwarder I have an inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[batch://C:\CSV]
disabled = 0
move_policy = sinkhole
followTail = 0
index = csvindex
sourcetype = csvdata
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The data is picked up and indexed.  However when I search for the data in the index the fields are not extracted.  All of the CSV data is just a ‘glob’ in the event.  The props.conf above is an example of the CSV fields.  The actual CSV has 34 columns in it, the props.conf includes all of them on my servers.  Not all rows have data in each column.&lt;/P&gt;

&lt;P&gt;The props.conf works when I try to input data manually from the web interface (time and fields are extracted properly) and this similar setup works in a single node test environment.  I suspect I’m missing a piece to the configuration in the multi-node environment I’m in now.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2015 14:44:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-fields-not-extracted-at-index-time-pulling-a-CSV-file/m-p/181516#M52309</guid>
      <dc:creator>dw385</dc:creator>
      <dc:date>2015-01-12T14:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why are fields not extracted at index-time pulling a CSV file into Splunk with my current configuration?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-fields-not-extracted-at-index-time-pulling-a-CSV-file/m-p/181517#M52310</link>
      <description>&lt;P&gt;By default, [source::] and [] stanzas match in a case-sensitive manner,&lt;BR /&gt;
while [host::] stanzas match in a case-insensitive manner. This is a convenient default,&lt;BR /&gt;
given that DNS names are case-insensitive.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2015 15:04:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-fields-not-extracted-at-index-time-pulling-a-CSV-file/m-p/181517#M52310</guid>
      <dc:creator>jayannah</dc:creator>
      <dc:date>2015-01-12T15:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why are fields not extracted at index-time pulling a CSV file into Splunk with my current configuration?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-fields-not-extracted-at-index-time-pulling-a-CSV-file/m-p/181518#M52311</link>
      <description>&lt;P&gt;Error on my part in trying to sanitize the post.  The actual inputs.conf has &lt;CODE&gt;sourcetype = CSVData&lt;/CODE&gt;, matching the props.conf.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2015 15:34:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-fields-not-extracted-at-index-time-pulling-a-CSV-file/m-p/181518#M52311</guid>
      <dc:creator>dw385</dc:creator>
      <dc:date>2015-01-12T15:34:36Z</dc:date>
    </item>
  </channel>
</rss>

