<?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 with headers processing in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/csv-with-headers-processing/m-p/45407#M8498</link>
    <description>&lt;P&gt;It definitely can. Those warnings are not from your settings, they are from other config files.&lt;/P&gt;</description>
    <pubDate>Sun, 25 Aug 2013 19:55:02 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2013-08-25T19:55:02Z</dc:date>
    <item>
      <title>csv with headers processing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/csv-with-headers-processing/m-p/45404#M8495</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Trying (still) to get delimted files properly handled by Splunk, with automatic failed extraction.  I followed the directions on this link - &lt;A href="http://answers.splunk.com/answers/29418/step-by-step-adding-a-new-csv-datasource" target="_blank"&gt;http://answers.splunk.com/answers/29418/step-by-step-adding-a-new-csv-datasource&lt;/A&gt; - which seem very straighfoward. One difference is that my files are pipe (|) delimited.  When I start splunk, I get a bunch of the following:&lt;/P&gt;

&lt;P&gt;ossible typo in stanza [snmpinfo-87] in /apps/splunk/splunk/etc/apps/learned/local/props.conf, line 1158: DELIMS  =  "|"&lt;BR /&gt;
                Possible typo in stanza [snmpinfo-88] in /apps/splunk/splunk/etc/apps/learned/local/props.conf, line 1170: DELIMS  =  "|"&lt;BR /&gt;
                Possible typo in stanza [snmpinfo-89] in /apps/splunk/splunk/etc/apps/learned/local/props.conf, line 1182: DELIMS  =  "|"&lt;BR /&gt;
                Possible typo in stanza [snmpinfo-90] in /apps/splunk/splunk/etc/apps/learned/local/props.conf, line 1194: DELIMS  =  "|"&lt;BR /&gt;
                Possible typo in stanza [snmpinfo-91] in /apps/splunk/splunk/etc/apps/learned/local/props.conf, line 1206: DELIMS  =  "|"&lt;BR /&gt;
WARN  IniFile - /apps/splunk/splunk/etc/system/local/props.conf, line 10: Cannot parse into key-value pair: REPORT-mysource snmp_csv&lt;/P&gt;

&lt;P&gt;Does anyone have any suggestions? This is really frustrating me.  My files are such:&lt;/P&gt;

&lt;P&gt;inputs:&lt;BR /&gt;
[monitor:///usr/local/nsmutils/export/current/] &lt;BR /&gt;
index=perfstats &lt;BR /&gt;
sourcetype=snmpinfo&lt;BR /&gt;
followTail = 0&lt;BR /&gt;
blacklist = .csv&lt;BR /&gt;
crcSalt = &lt;SOURCE&gt;&lt;BR /&gt;
initCrcLength = 500&lt;/SOURCE&gt;&lt;/P&gt;

&lt;P&gt;props:&lt;BR /&gt;
[source::snmpinfo]&lt;BR /&gt;
REPORT-mysource snmp_csv&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 30 &lt;BR /&gt;
SHOULD_LINEMERGE = FALSE&lt;BR /&gt;
KV_MODE = none&lt;BR /&gt;
CHECK_FOR_HEADER = TRUE&lt;BR /&gt;
NO_BINARY_CHECK = 1 &lt;BR /&gt;
TIME_FORMAT = %s &lt;BR /&gt;
SHOULD_LINEMERGE = false &lt;BR /&gt;
TIME_PREFIX = ^" &lt;BR /&gt;
TZ = US/Eastern&lt;/P&gt;

&lt;P&gt;transforms:&lt;BR /&gt;
[smp_csv] &lt;BR /&gt;
DELIMS = "|" &lt;BR /&gt;
FIELDS = "ATime","aItemId","aintMfName","ametric","avalue","amfDisplayName","adevice","acomponentName"&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:38:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/csv-with-headers-processing/m-p/45404#M8495</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2020-09-28T14:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: csv with headers processing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/csv-with-headers-processing/m-p/45405#M8496</link>
      <description>&lt;P&gt;Three things:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;You have the wrong syntax in props.conf. &lt;CODE&gt;REPORT-mysource snmp_csv&lt;/CODE&gt; is missing an equals sign - it should be &lt;CODE&gt;REPORT-mysource = snmp_csv&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;You have a typo in transforms.conf - you refer to &lt;CODE&gt;snmp_csv&lt;/CODE&gt; in props.conf but the transform is called &lt;CODE&gt;smp_csv&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;I think you've confused source with sourcetype. &lt;CODE&gt;snmpinfo&lt;/CODE&gt; is the sourcetype, not the source, so when you say &lt;CODE&gt;[source::snmpinfo]&lt;/CODE&gt; in props.conf, this won't match any events and your settings will not be applied no matter how correct they are. Your stanza should read just &lt;CODE&gt;[snmpinfo]&lt;/CODE&gt; instead.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Sun, 25 Aug 2013 07:15:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/csv-with-headers-processing/m-p/45405#M8496</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-08-25T07:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: csv with headers processing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/csv-with-headers-processing/m-p/45406#M8497</link>
      <description>&lt;P&gt;Thanks for the help. I made those adjustments, but I'm still getting the same errors. Can splunk handle a pipe as a delimiter?&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2013 12:50:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/csv-with-headers-processing/m-p/45406#M8497</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2013-08-25T12:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: csv with headers processing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/csv-with-headers-processing/m-p/45407#M8498</link>
      <description>&lt;P&gt;It definitely can. Those warnings are not from your settings, they are from other config files.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2013 19:55:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/csv-with-headers-processing/m-p/45407#M8498</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-08-25T19:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: csv with headers processing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/csv-with-headers-processing/m-p/45408#M8499</link>
      <description>&lt;P&gt;&lt;SOURCE&gt; I believe needs to be all caps.&lt;/SOURCE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 15:49:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/csv-with-headers-processing/m-p/45408#M8499</guid>
      <dc:creator>TobiasBoone</dc:creator>
      <dc:date>2013-10-16T15:49:01Z</dc:date>
    </item>
  </channel>
</rss>

