<?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 Is the configuration for my timestamp correct? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-the-configuration-for-my-timestamp-correct/m-p/264965#M50863</link>
    <description>&lt;P&gt;I have a problem with the right extraction of timestamp in a log file.  The string example of my log :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;161206 152835 LNX64 3 PWX-36145 ORAD Info Mbr 2: +   Low SCN 6120947915182. Low SCN Time 12/06/2016 14:58:17.
161206 152835 LNX64 3 PWX-36146 ORAD Info Mbr 2: +   Next SCN 6120950880737. Next SCN Time 12/06/2016 15:27:58.
161206 152900 LNX64 3 PWX-36117 ORAD Info Mbr 3: Reader is waiting for log sequence 36736 with start SCN 6120950700533 to be archived.
161206 152908 LNX64 3 PWX-36440 ORAD Info: Monitor messages begin (2016/12/06 15:29:08).
161206 152908 LNX64 3 PWX-36441 ORAD Info: Interval return counts: no data 114, commits 32717, inserts 35394, updates 5898, deletes 118.
161206 152908 LNX64 3 PWX-36442 ORAD Info: Interval TMGR counts: no data 124, transaction control 529871, operations 109033, other 0.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this my props.conf :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[etl-pwxccl_log2]
CHARSET = UTF-8
TIME_PREFIX=^
MAX_TIMESTAMP_LOOKAHEAD = 14
TIME_FORMAT = %Y%m%d %H%M%S
SHOULD_LINEMERGE = false
disabled = false
REPORT-pwxccl = etl-pwxxccl-fields
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this my transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[etl-pwxxccl-fields]
REGEX=  ^(?P\d+)\s+(?P\d+)\s+(?P.+) 

FORMAT = DATA::"$1" ORA::"$2" MESSAGE::"$3"

WRITE_META=1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;With this configuration the extraction of date is correct but is the time incorrect (recovered in other places of the log line?) &lt;/P&gt;

&lt;P&gt;Can someone help me?&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2016 10:59:03 GMT</pubDate>
    <dc:creator>patriziadepaola</dc:creator>
    <dc:date>2016-12-07T10:59:03Z</dc:date>
    <item>
      <title>Is the configuration for my timestamp correct?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-the-configuration-for-my-timestamp-correct/m-p/264965#M50863</link>
      <description>&lt;P&gt;I have a problem with the right extraction of timestamp in a log file.  The string example of my log :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;161206 152835 LNX64 3 PWX-36145 ORAD Info Mbr 2: +   Low SCN 6120947915182. Low SCN Time 12/06/2016 14:58:17.
161206 152835 LNX64 3 PWX-36146 ORAD Info Mbr 2: +   Next SCN 6120950880737. Next SCN Time 12/06/2016 15:27:58.
161206 152900 LNX64 3 PWX-36117 ORAD Info Mbr 3: Reader is waiting for log sequence 36736 with start SCN 6120950700533 to be archived.
161206 152908 LNX64 3 PWX-36440 ORAD Info: Monitor messages begin (2016/12/06 15:29:08).
161206 152908 LNX64 3 PWX-36441 ORAD Info: Interval return counts: no data 114, commits 32717, inserts 35394, updates 5898, deletes 118.
161206 152908 LNX64 3 PWX-36442 ORAD Info: Interval TMGR counts: no data 124, transaction control 529871, operations 109033, other 0.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this my props.conf :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[etl-pwxccl_log2]
CHARSET = UTF-8
TIME_PREFIX=^
MAX_TIMESTAMP_LOOKAHEAD = 14
TIME_FORMAT = %Y%m%d %H%M%S
SHOULD_LINEMERGE = false
disabled = false
REPORT-pwxccl = etl-pwxxccl-fields
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this my transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[etl-pwxxccl-fields]
REGEX=  ^(?P\d+)\s+(?P\d+)\s+(?P.+) 

FORMAT = DATA::"$1" ORA::"$2" MESSAGE::"$3"

WRITE_META=1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;With this configuration the extraction of date is correct but is the time incorrect (recovered in other places of the log line?) &lt;/P&gt;

&lt;P&gt;Can someone help me?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 10:59:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-the-configuration-for-my-timestamp-correct/m-p/264965#M50863</guid>
      <dc:creator>patriziadepaola</dc:creator>
      <dc:date>2016-12-07T10:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is the configuration for my timestamp correct?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-the-configuration-for-my-timestamp-correct/m-p/264966#M50864</link>
      <description>&lt;P&gt;Since its 2-digit year (YY), try lower case &lt;CODE&gt;%y&lt;/CODE&gt;. Like this &lt;CODE&gt;%y%m%d %H%M%S&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 13:42:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-the-configuration-for-my-timestamp-correct/m-p/264966#M50864</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-12-07T13:42:57Z</dc:date>
    </item>
  </channel>
</rss>

