<?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: How to configure props.conf and transforms.conf to process the timestamps in my data? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-process-the/m-p/264794#M50827</link>
    <description>&lt;P&gt;Looks good thanks!  However Im seeing timestamps issue where in the events the leading zeros are trimmed off of the UTC_TIME field, so that midnight is represented as a single 0, 12:15 is represented as the 2 digit 15, etc&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jan 2017 00:57:46 GMT</pubDate>
    <dc:creator>smudge797</dc:creator>
    <dc:date>2017-01-31T00:57:46Z</dc:date>
    <item>
      <title>How to configure props.conf and transforms.conf to process the timestamps in my data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-process-the/m-p/264792#M50825</link>
      <description>&lt;P&gt;Have data that Splunk is struggling with and needs props.conf and  transforms.conf.&lt;BR /&gt;
The year/month/date followed by time hours minutes seconds are in the 3rd and 4th fields for each event:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;20170129|4928|20170128|191928|14390803651|DIMPLE|DESAITT|V123456|EMPLOYEE|058000-5440 SOMEDATA|05800001 SOMEDATA5440|3681-1-01 SOMEDATA|Open|GLOBAL|058000|3681|SOMEDATA|MUMBAI|INDIA|

20170129|4928|20170129|191928|14390803651|DIMPLE|DESAITT|E123456|EMPLOYEE|058000-5440 SOMEDATA|05800001 SOMEDATA5440|3681-1-01 SOMEDATA|Open|GLOBAL|058000|3681|SOMEDATA|CONGO|AFRICA|
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any help to sort time stamps and the pipe separated fields would be much appreciated. &lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 22:45:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-process-the/m-p/264792#M50825</guid>
      <dc:creator>smudge797</dc:creator>
      <dc:date>2017-01-30T22:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf and transforms.conf to process the timestamps in my data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-process-the/m-p/264793#M50826</link>
      <description>&lt;P&gt;You should be able to configure your sourcetype in props.conf like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX=^\d+\|\d+\|
TIME_FORMAT=%Y%m%d|%H%M%S
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;TIME_PREFIX basically says that your timestamp is following two sequences of digits between pipes at the beginning of each line.&lt;BR /&gt;
TIME_FORMAT then describes the timestamp as year/month/date, followed by a pipe symbol, followed by hour/minute/second.&lt;BR /&gt;
While you're at it, set MAX_TIMESTAMP_LOOKAHEAD to 25.&lt;/P&gt;

&lt;P&gt;I haven't tested this, but it should be pretty straightforward. What timezone are these times in, can you be sure they all come in from the source in the same timezone?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:37:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-process-the/m-p/264793#M50826</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2020-09-29T12:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf and transforms.conf to process the timestamps in my data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-process-the/m-p/264794#M50827</link>
      <description>&lt;P&gt;Looks good thanks!  However Im seeing timestamps issue where in the events the leading zeros are trimmed off of the UTC_TIME field, so that midnight is represented as a single 0, 12:15 is represented as the 2 digit 15, etc&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 00:57:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-process-the/m-p/264794#M50827</guid>
      <dc:creator>smudge797</dc:creator>
      <dc:date>2017-01-31T00:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf and transforms.conf to process the timestamps in my data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-process-the/m-p/264795#M50828</link>
      <description>&lt;P&gt;Check out &lt;A href="https://answers.splunk.com/answers/147950/can-i-have-different-timestamp-formats-using-the-same-sourcetype.html"&gt;this answers post&lt;/A&gt; on how to configure datetime.xml to support multiple timestamp formats within the same log file.&lt;/P&gt;

&lt;P&gt;If you have any influence over how those logs are written, you may want to encourage the developer to make your life a little easier. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 05:02:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-process-the/m-p/264795#M50828</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2017-01-31T05:02:24Z</dc:date>
    </item>
  </channel>
</rss>

