<?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: Adding new fields in an auto-extracted CSV. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Adding-new-fields-in-an-auto-extracted-CSV/m-p/132033#M27152</link>
    <description>&lt;P&gt;Are these Service Data Records?&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.oracle.com/cd/E39414_01/doc.61/e29455/sbpms_sdr.htm#CHDBCIFH"&gt;http://docs.oracle.com/cd/E39414_01/doc.61/e29455/sbpms_sdr.htm#CHDBCIFH&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Apr 2014 15:36:27 GMT</pubDate>
    <dc:creator>ogdin</dc:creator>
    <dc:date>2014-04-23T15:36:27Z</dc:date>
    <item>
      <title>Adding new fields in an auto-extracted CSV.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Adding-new-fields-in-an-auto-extracted-CSV/m-p/132032#M27151</link>
      <description>&lt;P&gt;I have had a sourcetype working fine for months which used a | as a field delimiter in a CSV file with a header.&lt;/P&gt;

&lt;P&gt;Yesterday, the file had a few new fields added to the end of the line (header and data lines) -- the header shows this, the fields have data, the data is indexed, but the fields are not being extracted.  &lt;/P&gt;

&lt;P&gt;I have restarted Splunk, no joy.  Why might Splunk 6.0.3 ignore new fields?  Do I have to create an all new sourcetype?&lt;/P&gt;

&lt;P&gt;A bit more information.  My props.conf now reads:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sdrheader2]
INDEXED_EXTRACTIONS = PSV
MAX_TIMESTAMP_LOOKAHEAD = 23
TIME_FORMAT = %d/%m/%Y %H:%M:%S
TIME_PREFIX = ^\d+\|
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And I've adjusted my inputs.conf to read:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///home/sdr/incoming]
crcSalt = &amp;lt;SOURCE&amp;gt;
initCrcLength = 2048
disabled = false
followTail = 0
index = sdr
sourcetype = sdrheader2
whitelist = \.csv$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Yet even after restarting Splunk, deleting some files which have the new header format from Splunk (| delete) and manually re-adding them with a oneshot add with the new sourcetype, the fields aren't being processed.&lt;/P&gt;

&lt;P&gt;I've also tried making this a CSV with "FIELD_DELIMITER=|" defined, and that's what the original sdrheader sourcetype was defined as - it works for all fields except the new ones which started appearing yesterday.&lt;/P&gt;

&lt;P&gt;The props/input.conf field are on my indexer, nothing relevant to this sourcetype on my Search Head.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2014 10:38:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Adding-new-fields-in-an-auto-extracted-CSV/m-p/132032#M27151</guid>
      <dc:creator>howyagoin</dc:creator>
      <dc:date>2014-04-15T10:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding new fields in an auto-extracted CSV.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Adding-new-fields-in-an-auto-extracted-CSV/m-p/132033#M27152</link>
      <description>&lt;P&gt;Are these Service Data Records?&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.oracle.com/cd/E39414_01/doc.61/e29455/sbpms_sdr.htm#CHDBCIFH"&gt;http://docs.oracle.com/cd/E39414_01/doc.61/e29455/sbpms_sdr.htm#CHDBCIFH&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2014 15:36:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Adding-new-fields-in-an-auto-extracted-CSV/m-p/132033#M27152</guid>
      <dc:creator>ogdin</dc:creator>
      <dc:date>2014-04-23T15:36:27Z</dc:date>
    </item>
  </channel>
</rss>

