<?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: Timestamp parsing with separate Date and Time fields in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-with-separate-Date-and-Time-fields/m-p/241420#M46829</link>
    <description>&lt;P&gt;Thanks @richgalloway.  Spot on.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jan 2016 16:28:51 GMT</pubDate>
    <dc:creator>tread_splunk</dc:creator>
    <dc:date>2016-01-25T16:28:51Z</dc:date>
    <item>
      <title>Timestamp parsing with separate Date and Time fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-with-separate-Date-and-Time-fields/m-p/241418#M46827</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;My event data has the following extract about 100chars in from the start of the event...&lt;/P&gt;

&lt;P&gt;&amp;amp;ltdate_value&amp;amp;gt2015-08-30T00:00:00&amp;amp;lt/date_value&amp;amp;gt&amp;amp;lttime_value&amp;amp;gt23:58:52&amp;amp;lt/time_value&amp;amp;gt&amp;amp;ltagency&amp;amp;gtMCP&amp;amp;lt/agency&amp;amp;gt&lt;/P&gt;

&lt;P&gt;I'm trying to get Splunk to construct the event timestamp value as 2015-08-30 23:58:52.&lt;/P&gt;

&lt;P&gt;I've tried various forms of the following in PROPS.CONF...&lt;/P&gt;

&lt;P&gt;TIME_FORMAT = YYYY-MM-DDT00:00:00&amp;amp;lt/date_value&amp;amp;gt&amp;lt;time_value&amp;gt;&amp;amp;lttime_value&amp;amp;gtHH:MM:SS&lt;/P&gt;

&lt;P&gt;TIME_PREFIX = &amp;amp;ltdate_value&amp;amp;gt&lt;/P&gt;

&lt;P&gt;Suggestions greatly appreciated.&lt;BR /&gt;
Tony.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:30:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-with-separate-Date-and-Time-fields/m-p/241418#M46827</guid>
      <dc:creator>tread_splunk</dc:creator>
      <dc:date>2020-09-29T08:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp parsing with separate Date and Time fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-with-separate-Date-and-Time-fields/m-p/241419#M46828</link>
      <description>&lt;P&gt;The TIME_FORMAT attribute must use strptime() metacharacters.  Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;MAX_TIMESTAMP_LOOKAHEAD = 200
TIME_PREFIX = &amp;lt;date_value&amp;gt;
TIME_FORMAT = %Y-%m-%DT00:00:00&amp;lt;/date_value&amp;gt;&amp;lt;time_value&amp;gt;%H:%M:%S
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Jan 2016 13:17:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-with-separate-Date-and-Time-fields/m-p/241419#M46828</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2016-01-22T13:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp parsing with separate Date and Time fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-with-separate-Date-and-Time-fields/m-p/241420#M46829</link>
      <description>&lt;P&gt;Thanks @richgalloway.  Spot on.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2016 16:28:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-with-separate-Date-and-Time-fields/m-p/241420#M46829</guid>
      <dc:creator>tread_splunk</dc:creator>
      <dc:date>2016-01-25T16:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp parsing with separate Date and Time fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-with-separate-Date-and-Time-fields/m-p/241421#M46830</link>
      <description>&lt;P&gt;I changed the %D to %d to make this work. Thanks @richgalloway &lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 16:28:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-parsing-with-separate-Date-and-Time-fields/m-p/241421#M46830</guid>
      <dc:creator>antlefebvre</dc:creator>
      <dc:date>2016-05-17T16:28:14Z</dc:date>
    </item>
  </channel>
</rss>

