<?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: How to configure Splunk to use a field/column from a flat CSV file as the event timestamp? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-use-a-field-column-from-a-flat-CSV/m-p/227652#M44376</link>
    <description>&lt;P&gt;Subtract 1 from your &lt;CODE&gt;MAX_TIMESTAMP_LOOKAHEAD&lt;/CODE&gt; (which is in there twice, but that should not cause it to not work), make sure that this file is on your FORWARDER, restart your forwarder and then it should work.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Apr 2016 12:48:01 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2016-04-29T12:48:01Z</dc:date>
    <item>
      <title>How to configure Splunk to use a field/column from a flat CSV file as the event timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-use-a-field-column-from-a-flat-CSV/m-p/227651#M44375</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;We have a CSV file which is flat file. It has a column named 'RUNDATE' where the date is in '2016-04-20' format.&lt;BR /&gt;
Currently, Splunk indexes all the lines in this CSV as time modified of the CSV file.&lt;BR /&gt;
Is there a way to configure Splunk to read the RUNDATE value and set that as the event time? Below is how the sourcetype is configured on indexer's props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[uow_csv]
SHOULD_LINEMERGE = false
INDEXED_EXTRACTIONS = csv
MAX_TIMESTAMP_LOOKAHEAD=11
HEADER_FIELD_LINE_NUMBER = 1
HEADER_FIELD_DELIMITER = ,
TIMESTAMP_FIELDS = RUNDATE
TIME_FORMAT = %Y-%m-%d
MAX_TIMESTAMP_LOOKAHEAD=11
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Apr 2016 12:00:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-use-a-field-column-from-a-flat-CSV/m-p/227651#M44375</guid>
      <dc:creator>sim_tcr</dc:creator>
      <dc:date>2016-04-29T12:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk to use a field/column from a flat CSV file as the event timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-use-a-field-column-from-a-flat-CSV/m-p/227652#M44376</link>
      <description>&lt;P&gt;Subtract 1 from your &lt;CODE&gt;MAX_TIMESTAMP_LOOKAHEAD&lt;/CODE&gt; (which is in there twice, but that should not cause it to not work), make sure that this file is on your FORWARDER, restart your forwarder and then it should work.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 12:48:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-use-a-field-column-from-a-flat-CSV/m-p/227652#M44376</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-04-29T12:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk to use a field/column from a flat CSV file as the event timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-use-a-field-column-from-a-flat-CSV/m-p/227653#M44377</link>
      <description>&lt;P&gt;putting the props.conf on the forwarder fixed the issue.&lt;BR /&gt;
But i am confused. the sourcetype configuration is always done on the indexers right?&lt;BR /&gt;
Now i have the file with above configuration on indexers and forwarder.&lt;BR /&gt;
If i make a change to any of the file which one will take the change?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 13:04:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-use-a-field-column-from-a-flat-CSV/m-p/227653#M44377</guid>
      <dc:creator>sim_tcr</dc:creator>
      <dc:date>2016-04-29T13:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk to use a field/column from a flat CSV file as the event timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-use-a-field-column-from-a-flat-CSV/m-p/227654#M44378</link>
      <description>&lt;P&gt;This is almost always the case but Splunk decided to deviate with this one, and I can see why.  Using &lt;CODE&gt;INDEXED_EXTRACTIONS&lt;/CODE&gt; makes your Universal Forwarder behave like a Heavy Forwarder (just for that input).  This is in the documentation.&lt;/P&gt;

&lt;P&gt;As far as where to put what, you can split the file into 2 different ones; one with configurations for the Forwarder and one with configurations for the Indexer; it does not have to have the same content on different types of Splunk servers.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 13:11:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-use-a-field-column-from-a-flat-CSV/m-p/227654#M44378</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-04-29T13:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk to use a field/column from a flat CSV file as the event timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-use-a-field-column-from-a-flat-CSV/m-p/227655#M44379</link>
      <description>&lt;P&gt;Building off what @woodcock said, "Which configuration parameters go with which phases" section of &lt;A href="https://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F"&gt;https://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F&lt;/A&gt; might be good reference.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 20:17:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-use-a-field-column-from-a-flat-CSV/m-p/227655#M44379</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2016-06-13T20:17:16Z</dc:date>
    </item>
  </channel>
</rss>

