<?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 CSV: Timestamp incorrect, how do I fix? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Timestamp-incorrect-how-do-I-fix/m-p/492621#M84192</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;

&lt;P&gt;I have a very simple csv file, with three columns, two of which are 'date' and 'time'. I can not (for love nor money) get the timestamp to be correct. Here is a row from my csv file:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;0W4K   09-04   03/10/2019&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;09-04 is 09:04am and the date is obviously the date.&lt;/P&gt;

&lt;P&gt;The timestamp is the last time the CSV was modified and I'm trying to get Splunk to indenitfy the correct time from the CSV file based on its current format.&lt;/P&gt;

&lt;P&gt;Any help would be greatly appreciated, thank you! &lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2019 14:55:17 GMT</pubDate>
    <dc:creator>danfinan</dc:creator>
    <dc:date>2019-10-03T14:55:17Z</dc:date>
    <item>
      <title>CSV: Timestamp incorrect, how do I fix?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Timestamp-incorrect-how-do-I-fix/m-p/492621#M84192</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;

&lt;P&gt;I have a very simple csv file, with three columns, two of which are 'date' and 'time'. I can not (for love nor money) get the timestamp to be correct. Here is a row from my csv file:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;0W4K   09-04   03/10/2019&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;09-04 is 09:04am and the date is obviously the date.&lt;/P&gt;

&lt;P&gt;The timestamp is the last time the CSV was modified and I'm trying to get Splunk to indenitfy the correct time from the CSV file based on its current format.&lt;/P&gt;

&lt;P&gt;Any help would be greatly appreciated, thank you! &lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 14:55:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Timestamp-incorrect-how-do-I-fix/m-p/492621#M84192</guid>
      <dc:creator>danfinan</dc:creator>
      <dc:date>2019-10-03T14:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: CSV: Timestamp incorrect, how do I fix?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Timestamp-incorrect-how-do-I-fix/m-p/492622#M84193</link>
      <description>&lt;P&gt;The time format string would be "%H-%M %m/%d/%Y", but we need more information to tell you how to use it.  What is the query that uses this CSV?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 16:50:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Timestamp-incorrect-how-do-I-fix/m-p/492622#M84193</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-10-03T16:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: CSV: Timestamp incorrect, how do I fix?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Timestamp-incorrect-how-do-I-fix/m-p/492623#M84194</link>
      <description>&lt;P&gt;Hi danfinan,&lt;BR /&gt;
try something like this in your props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[your_sourcetype]
TIME_PREFIX = ^\w+\s+
TIME_FORMAT = %H-%M %d/%m/%Y
SHOULD_LINEMERGE = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 12:44:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Timestamp-incorrect-how-do-I-fix/m-p/492623#M84194</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-10-04T12:44:57Z</dc:date>
    </item>
  </channel>
</rss>

