<?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 CSV Timestamp recognition not working with my current props.conf for our production 6.3.2 indexer cluster? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258392#M49638</link>
    <description>&lt;P&gt;Ugh, but it literally says INDEX in its name! Thank you guys.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jun 2018 21:26:30 GMT</pubDate>
    <dc:creator>thisissplunk</dc:creator>
    <dc:date>2018-06-25T21:26:30Z</dc:date>
    <item>
      <title>Why is CSV Timestamp recognition not working with my current props.conf for our production 6.3.2 indexer cluster?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258380#M49626</link>
      <description>&lt;P&gt;I have 3 environments:&lt;/P&gt;

&lt;P&gt;Laptop - Splunk 6.5.0&lt;BR /&gt;
Test - Splunk 6.4.3&lt;BR /&gt;
Prod - Splunk 6.3.2&lt;/P&gt;

&lt;P&gt;In the first two environments, I am able to pull in a csv nightly and grab the timestamp from the first comma-separated field (in epoch form)&lt;/P&gt;

&lt;P&gt;My props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[status_csv]
HEADER_FIELD_LINE_NUMBER = 1
INDEXED_EXTRACTIONS = csv
TIME_FORMAT =  %s
TIMESTAMP_FIELDS = collection_time
MAX_TIMESTAMP_LOOKAHEAD = 11
KV_MODE = none
SHOULD_LINEMERGE = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Sample data:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;collection_time,src_host,APstat,def_date,def_version,foo,bar,foobar
1476691203,xxx-osx1010-3,On,2016-10-16 00:00:00.000,2016-10-16 rev. 022,No,local,Not installed
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And yet when I push these configs to our PROD indexer cluster, the extractions are created, but Splunk always stamps _time with the time that the event was indexed. ( Whereas, in both my Splunk free environment on my laptop and our UAT environment ( similar to Prod, just smaller and now running 6.4.3 ), the timestamp is appropriately extracted from the 'collection_time' field in the csv )&lt;/P&gt;

&lt;P&gt;Either something must be overriding the props I've pushed, or something in the configuration is wrong.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:27:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258380#M49626</guid>
      <dc:creator>pkeller</dc:creator>
      <dc:date>2020-09-29T11:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why is CSV Timestamp recognition not working with my current props.conf for our production 6.3.2 indexer cluster?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258381#M49627</link>
      <description>&lt;P&gt;Have you had a look at the _internal index for any timestamp parsing errors?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 22:15:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258381#M49627</guid>
      <dc:creator>lquinn</dc:creator>
      <dc:date>2016-10-17T22:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why is CSV Timestamp recognition not working with my current props.conf for our production 6.3.2 indexer cluster?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258382#M49628</link>
      <description>&lt;P&gt;Thank you very much for your reply. Yes. I've done extensive searching in the splunkd logs and am not finding anything relevant to this datasource showing up on the indexers.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 22:32:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258382#M49628</guid>
      <dc:creator>pkeller</dc:creator>
      <dc:date>2016-10-17T22:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why is CSV Timestamp recognition not working with my current props.conf for our production 6.3.2 indexer cluster?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258383#M49629</link>
      <description>&lt;P&gt;Have you run a btool to check for configuration conflicts in props.conf?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 22:34:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258383#M49629</guid>
      <dc:creator>lquinn</dc:creator>
      <dc:date>2016-10-17T22:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why is CSV Timestamp recognition not working with my current props.conf for our production 6.3.2 indexer cluster?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258384#M49630</link>
      <description>&lt;P&gt;Yes. thank you *&lt;EM&gt;sudo /opt/splunk/bin/splunk btool props list --debug status_csv *&lt;/EM&gt;  returns the same properties that I'd expect to see &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[Paul_Keller@Hostname ~]$ sudo /opt/splunk/bin/splunk btool props list --debug status_csv | grep local
/opt/splunk/etc/slave-apps/TA-gso_props/local/props.conf [status_csv]
/opt/splunk/etc/slave-apps/TA-gso_props/local/props.conf HEADER_FIELD_LINE_NUMBER = 1
/opt/splunk/etc/slave-apps/TA-gso_props/local/props.conf INDEXED_EXTRACTIONS = csv
/opt/splunk/etc/slave-apps/TA-gso_props/local/props.conf KV_MODE = none
/opt/splunk/etc/slave-apps/TA-gso_props/local/props.conf MAX_TIMESTAMP_LOOKAHEAD = 11
/opt/splunk/etc/slave-apps/TA-gso_props/local/props.conf SHOULD_LINEMERGE = false
/opt/splunk/etc/slave-apps/TA-gso_props/local/props.conf TIMESTAMP_FIELDS = collection_time
/opt/splunk/etc/slave-apps/TA-gso_props/local/props.conf TIME_FORMAT = %s
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Oct 2016 22:47:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258384#M49630</guid>
      <dc:creator>pkeller</dc:creator>
      <dc:date>2016-10-17T22:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why is CSV Timestamp recognition not working with my current props.conf for our production 6.3.2 indexer cluster?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258385#M49631</link>
      <description>&lt;P&gt;hmmm ... should the TIMESTAMP_FIELDS and TIME_FORMAT assignments be levied on the Universal Forwarder? &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:27:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258385#M49631</guid>
      <dc:creator>pkeller</dc:creator>
      <dc:date>2020-09-29T11:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why is CSV Timestamp recognition not working with my current props.conf for our production 6.3.2 indexer cluster?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258386#M49632</link>
      <description>&lt;P&gt;Are you using a UF or HF to forward the data?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 22:58:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258386#M49632</guid>
      <dc:creator>lquinn</dc:creator>
      <dc:date>2016-10-17T22:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why is CSV Timestamp recognition not working with my current props.conf for our production 6.3.2 indexer cluster?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258387#M49633</link>
      <description>&lt;P&gt;This issue would be relevant to a UF.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 22:59:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258387#M49633</guid>
      <dc:creator>pkeller</dc:creator>
      <dc:date>2016-10-17T22:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why is CSV Timestamp recognition not working with my current props.conf for our production 6.3.2 indexer cluster?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258388#M49634</link>
      <description>&lt;P&gt;I think at least INDEXED_EXTRACTIONS needs to be on the uf, and so then the remaining parsing might need to be there as well.  Not sure if I'm reading the caveats section correctly, but the answer is probably in here somewhere&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/Data/Extractfieldsfromfileswithstructureddata"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/Data/Extractfieldsfromfileswithstructureddata&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 01:13:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258388#M49634</guid>
      <dc:creator>maciep</dc:creator>
      <dc:date>2016-10-18T01:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why is CSV Timestamp recognition not working with my current props.conf for our production 6.3.2 indexer cluster?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258389#M49635</link>
      <description>&lt;P&gt;I believe you need to distribute your props.conf to your UFs. I'm guessing that in your first two environments are you loading the file on the Splunk server itself as opposed to feeding it in using a UF?&lt;/P&gt;

&lt;P&gt;While you are correct that &lt;EM&gt;most&lt;/EM&gt; of the time timestamp parsing happens on the indexer or HWF tier, INDEXED_EXTRACTIONS is a huge exception to this, namely because the UF sends fully parsed events (this is because it builds index-time extracted fields, using the field names which come from the header of the file, and said header remains only on the source node and is not forwarded... if the UF were blindly sending the file then the header would only go with the first chunk of the file, and would not be available for later lines that come in). For a detailed diagram on the steps of parsing, check out &lt;A href="https://wiki.splunk.com/Community:HowIndexingWorks"&gt;this wiki page&lt;/A&gt; or Amrit's perennial .conf talk on How Splunkd Works... you'll see that with structured parsing, the aggregator processor (which is responsible for timestamp assignment) is run on the UF.&lt;/P&gt;

&lt;P&gt;One interesting side effect to all of this is that you can &lt;A href="http://splunkreactions.tumblr.com/post/87236606635/finding-out-that-if-you-use-indexed-extractions-on"&gt;actually nullQueue on the UF when using INDEXED_EXTRACTIONS&lt;/A&gt;, because the regexreplacement processor also runs as part of the structured parsing pipeline on the UF.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 03:58:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258389#M49635</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2016-10-18T03:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why is CSV Timestamp recognition not working with my current props.conf for our production 6.3.2 indexer cluster?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258390#M49636</link>
      <description>&lt;P&gt;Thank you. Yes. This issue is resolved now after deploying the INDEXED_EXTRACTIONS props to the UF. The latest ingestion of the CSV was properly timestamped. Appreciate the insight from everyone.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 14:39:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258390#M49636</guid>
      <dc:creator>pkeller</dc:creator>
      <dc:date>2016-10-18T14:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why is CSV Timestamp recognition not working with my current props.conf for our production 6.3.2 indexer cluster?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258391#M49637</link>
      <description>&lt;P&gt;Worked for me too. It was turning month/day in the _time field and I didn't understand why&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 13:34:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258391#M49637</guid>
      <dc:creator>dsmc_adv</dc:creator>
      <dc:date>2017-05-05T13:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why is CSV Timestamp recognition not working with my current props.conf for our production 6.3.2 indexer cluster?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258392#M49638</link>
      <description>&lt;P&gt;Ugh, but it literally says INDEX in its name! Thank you guys.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 21:26:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-CSV-Timestamp-recognition-not-working-with-my-current/m-p/258392#M49638</guid>
      <dc:creator>thisissplunk</dc:creator>
      <dc:date>2018-06-25T21:26:30Z</dc:date>
    </item>
  </channel>
</rss>

