<?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 Source not getting field headers. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Source-not-getting-field-headers/m-p/451424#M78274</link>
    <description>&lt;P&gt;The forwarder had to be upgraded to get the proper csv extractions. 6.5.2 did not do it, 7.2.3 did.&lt;/P&gt;

&lt;P&gt;For complete info see this &lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/739964/need-sedcmd-help.html"&gt;https://answers.splunk.com/answers/739964/need-sedcmd-help.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2019 16:51:54 GMT</pubDate>
    <dc:creator>JDukeSplunk</dc:creator>
    <dc:date>2019-03-22T16:51:54Z</dc:date>
    <item>
      <title>CSV Source not getting field headers.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Source-not-getting-field-headers/m-p/451422#M78272</link>
      <description>&lt;P&gt;What am I doing wrong?&lt;BR /&gt;
I am trying to get fields from a csv. I imported one csv file into a standalone Splunk server using the "add data" GUI. It  picked up the header and displayed the fields perfectly. I then took the props.conf lines it generated and placed it on my indexer in /etc/system/local/props.conf. I then did a /debug/refresh on the indexer to reload the props.conf. When that didn't work I placed the props.conf alongside the inputs.conf on the forwarding host.. Neither worked.&lt;/P&gt;

&lt;P&gt;When I ingest the data, there are no fields, just single line-by-lines.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6744iF18C6F3057DAA8B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;My configs.&lt;/P&gt;

&lt;P&gt;Inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://E:\Health_Data_Fax_QA\Reporting\*(log$|txt$|csv$)]
disabled = 0
followTail = 0
sourcetype=hdfax:qa
ignoreOlderThan = 30d
index = application
crcSalt = 

[monitor://E:\Health_Data_Fax_UAT\Reporting\*(log$|txt$|csv$)]
disabled = 0
followTail = 0
sourcetype=hdfax:uat
ignoreOlderThan = 30d
index = application
crcSalt = 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[hdfax:qa]
DATETIME_CONFIG = 
INDEXED_EXTRACTIONS = csv
KV_MODE = none
LINE_BREAKER = ([\r\n]+)
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
category = Structured
description = Comma-separated value format. Set header and other settings in "Delimited Settings"
disabled = false
pulldown_type = true


[hdfax:uat]
DATETIME_CONFIG = 
INDEXED_EXTRACTIONS = csv
KV_MODE = none
LINE_BREAKER = ([\r\n]+)
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
category = Structured
description = Comma-separated value format. Set header and other settings in "Delimited Settings"
disabled = false
pulldown_type = true
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Mar 2019 19:05:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Source-not-getting-field-headers/m-p/451422#M78272</guid>
      <dc:creator>JDukeSplunk</dc:creator>
      <dc:date>2019-03-20T19:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Source not getting field headers.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Source-not-getting-field-headers/m-p/451423#M78273</link>
      <description>&lt;P&gt;Your sample event has a different sourcetype than the ones listed in the props.&lt;/P&gt;

&lt;P&gt;Is your standalone server a test server? Because later you're talking about moving the props.conf to the indexer.&lt;/P&gt;

&lt;P&gt;Edit: Actually, it should be enough when you have the props.conf on your Universal Forwarder already and the config file should not be needed on your indexer.&lt;/P&gt;

&lt;P&gt;Skalli&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 13:02:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Source-not-getting-field-headers/m-p/451423#M78273</guid>
      <dc:creator>skalliger</dc:creator>
      <dc:date>2019-03-21T13:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Source not getting field headers.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Source-not-getting-field-headers/m-p/451424#M78274</link>
      <description>&lt;P&gt;The forwarder had to be upgraded to get the proper csv extractions. 6.5.2 did not do it, 7.2.3 did.&lt;/P&gt;

&lt;P&gt;For complete info see this &lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/739964/need-sedcmd-help.html"&gt;https://answers.splunk.com/answers/739964/need-sedcmd-help.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 16:51:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Source-not-getting-field-headers/m-p/451424#M78274</guid>
      <dc:creator>JDukeSplunk</dc:creator>
      <dc:date>2019-03-22T16:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Source not getting field headers.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Source-not-getting-field-headers/m-p/451425#M78275</link>
      <description>&lt;P&gt;Thanks for your input.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 16:53:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Source-not-getting-field-headers/m-p/451425#M78275</guid>
      <dc:creator>JDukeSplunk</dc:creator>
      <dc:date>2019-03-22T16:53:10Z</dc:date>
    </item>
  </channel>
</rss>

