<?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: Importing data from a CSV file, how do I edit props.conf to assign a specific column to be parsed as _time? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Importing-data-from-a-CSV-file-how-do-I-edit-props-conf-to/m-p/284907#M54416</link>
    <description>&lt;P&gt;it works, thanks a lot!!!&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2016 06:51:05 GMT</pubDate>
    <dc:creator>nikkkc</dc:creator>
    <dc:date>2016-07-28T06:51:05Z</dc:date>
    <item>
      <title>Importing data from a CSV file, how do I edit props.conf to assign a specific column to be parsed as _time?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Importing-data-from-a-CSV-file-how-do-I-edit-props-conf-to/m-p/284905#M54414</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;

&lt;P&gt;I do data import from a CSV and I would like set the eventtime ( _time) to a specific column because the automatic timestamp assignment did not work for me.&lt;/P&gt;

&lt;P&gt;Is my config possible? What is wrong? ActualStartTime is a Column in the header of the CSVFile.&lt;/P&gt;

&lt;P&gt;props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::D:\Data\*.csv]
TIME_PREFIX = ActualStartTime
TIME_FORMAT=%y/%m/%d-%H:%M:%S.%3N
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;thanks I am 404&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 13:34:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Importing-data-from-a-CSV-file-how-do-I-edit-props-conf-to/m-p/284905#M54414</guid>
      <dc:creator>nikkkc</dc:creator>
      <dc:date>2016-07-27T13:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Importing data from a CSV file, how do I edit props.conf to assign a specific column to be parsed as _time?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Importing-data-from-a-CSV-file-how-do-I-edit-props-conf-to/m-p/284906#M54415</link>
      <description>&lt;P&gt;You can use INDEXED_EXTRACTIONS and the TIMESTAMP_FIELDS option to do this.  You'll need to put these settings in the props.conf on your universal forwarder.  There is a default csv sourcetype you can use to do this, or you can create your own sourcetype.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/Data/Extractfieldsfromfileswithstructureddata" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/Data/Extractfieldsfromfileswithstructureddata&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[my_csv]
SHOULD_LINEMERGE = False
INDEXED_EXTRACTIONS = csv
KV_MODE = none
TIMESTAMP_FIELDS = ActualStartTime
TIME_FORMAT=%y/%m/%d-%H:%M:%S.%3N
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:24:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Importing-data-from-a-CSV-file-how-do-I-edit-props-conf-to/m-p/284906#M54415</guid>
      <dc:creator>Jeremiah</dc:creator>
      <dc:date>2020-09-29T10:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Importing data from a CSV file, how do I edit props.conf to assign a specific column to be parsed as _time?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Importing-data-from-a-CSV-file-how-do-I-edit-props-conf-to/m-p/284907#M54416</link>
      <description>&lt;P&gt;it works, thanks a lot!!!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 06:51:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Importing-data-from-a-CSV-file-how-do-I-edit-props-conf-to/m-p/284907#M54416</guid>
      <dc:creator>nikkkc</dc:creator>
      <dc:date>2016-07-28T06:51:05Z</dc:date>
    </item>
  </channel>
</rss>

