<?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: Extract timestamp without date? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Extract-timestamp-without-date/m-p/98514#M20585</link>
    <description>&lt;P&gt;Updated from version 4.1.5 to 4.1.6 and updated the local props.conf as follows, then restarted Splunk.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::tcp:9001]
TZ = America/Chicago
CHECK_FOR_HEADER = False
SHOULD_LINEMERGE = False
MAX_TIMESTAMP_LOOKAHEAD = 16
TIME_PREFIX = ^.{12}
TIME_FORMAT = %H %M
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The issue appears to be resolved in cursory testing, however I will edit/update accordingly after additional testing has been verified.&lt;/P&gt;</description>
    <pubDate>Sat, 04 Dec 2010 03:22:19 GMT</pubDate>
    <dc:creator>Toups</dc:creator>
    <dc:date>2010-12-04T03:22:19Z</dc:date>
    <item>
      <title>Extract timestamp without date?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-timestamp-without-date/m-p/98513#M20584</link>
      <description>&lt;P&gt;Preface: The timestamp is in HHMM format from the source, year/month/day information is not provided. The data is provided via a TCP string from a CDR log.&lt;/P&gt;

&lt;P&gt;I have the following input string:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"\x00\x00\x00130000059  C9E840    1210....."
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have added entries to the local props.com as follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::tcp:9001]
TZ = America/Chicago
CHECK_FOR_HEADER = False
SHOULD_LINEMERGE = False
MAX_TIMESTAMP_LOOKAHEAD = 16
TIME_PREFIX = ^.{12}
TIME_FORMAT = %H %M
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The issue: timestamps appear to work fine EXCEPT for the first 5 minutes of each hour. In the example above the timestamp is 4 digits log starting after position 12 with a value of "1300" however splunk is decoding the timestamp as "1359" instead of "1300" as defined. Once time reaches 6 minutes past the hour, the timestamp works as expected producing a timestamp of "1306"; an example is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"\x00\x00\x00130600869  C9E820     713....."
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any assistance is greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2010 03:40:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-timestamp-without-date/m-p/98513#M20584</guid>
      <dc:creator>Toups</dc:creator>
      <dc:date>2010-12-03T03:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Extract timestamp without date?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-timestamp-without-date/m-p/98514#M20585</link>
      <description>&lt;P&gt;Updated from version 4.1.5 to 4.1.6 and updated the local props.conf as follows, then restarted Splunk.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::tcp:9001]
TZ = America/Chicago
CHECK_FOR_HEADER = False
SHOULD_LINEMERGE = False
MAX_TIMESTAMP_LOOKAHEAD = 16
TIME_PREFIX = ^.{12}
TIME_FORMAT = %H %M
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The issue appears to be resolved in cursory testing, however I will edit/update accordingly after additional testing has been verified.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Dec 2010 03:22:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-timestamp-without-date/m-p/98514#M20585</guid>
      <dc:creator>Toups</dc:creator>
      <dc:date>2010-12-04T03:22:19Z</dc:date>
    </item>
  </channel>
</rss>

