<?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 How to set up time_format in props.conf when only have time in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-time-format-in-props-conf-when-only-have-time/m-p/217996#M98859</link>
    <description>&lt;P&gt;Splunk is indexing a log file that has a format like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11:03:51.319 Notify Host: HOST_STATUS_UNKNOWN {279, bdl58056}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The events can also be multi-line. So, I set up the props.conf for this sourcetype like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SHOULD_LINEMERGE = true
TIME_PREFIX = \d{2}:\d{2}:\d{2}\.\d{3}\s
TIME_FORMAT = %H:%M:%S.%3N
MAX_TIMESTAMP_LOOKAHEAD = 13
BREAK_ONLY_BEFORE_DATE = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The timestamp doesn't seem to be getting picked up and assigned to _time correctly. How do I set up the event timestamp properly when the "timestamp" on the event is only the time (I can assume the date is the current date)?&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2016 15:16:57 GMT</pubDate>
    <dc:creator>jwalthour</dc:creator>
    <dc:date>2016-06-23T15:16:57Z</dc:date>
    <item>
      <title>How to set up time_format in props.conf when only have time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-time-format-in-props-conf-when-only-have-time/m-p/217996#M98859</link>
      <description>&lt;P&gt;Splunk is indexing a log file that has a format like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11:03:51.319 Notify Host: HOST_STATUS_UNKNOWN {279, bdl58056}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The events can also be multi-line. So, I set up the props.conf for this sourcetype like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SHOULD_LINEMERGE = true
TIME_PREFIX = \d{2}:\d{2}:\d{2}\.\d{3}\s
TIME_FORMAT = %H:%M:%S.%3N
MAX_TIMESTAMP_LOOKAHEAD = 13
BREAK_ONLY_BEFORE_DATE = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The timestamp doesn't seem to be getting picked up and assigned to _time correctly. How do I set up the event timestamp properly when the "timestamp" on the event is only the time (I can assume the date is the current date)?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 15:16:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-time-format-in-props-conf-when-only-have-time/m-p/217996#M98859</guid>
      <dc:creator>jwalthour</dc:creator>
      <dc:date>2016-06-23T15:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up time_format in props.conf when only have time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-time-format-in-props-conf-when-only-have-time/m-p/217997#M98860</link>
      <description>&lt;P&gt;Change this line:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX = ^
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Jun 2016 23:54:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-time-format-in-props-conf-when-only-have-time/m-p/217997#M98860</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-06-23T23:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up time_format in props.conf when only have time</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-time-format-in-props-conf-when-only-have-time/m-p/217998#M98861</link>
      <description>&lt;P&gt;Thank you, woodcock!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 15:33:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-up-time-format-in-props-conf-when-only-have-time/m-p/217998#M98861</guid>
      <dc:creator>jwalthour</dc:creator>
      <dc:date>2016-06-24T15:33:00Z</dc:date>
    </item>
  </channel>
</rss>

