<?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 transform multiple timestamps in an event in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-transform-multiple-timestamps-in-an-event/m-p/486574#M83331</link>
    <description>&lt;P&gt;Hi MOHITJOSHI,&lt;/P&gt;

&lt;P&gt;try this in props.conf for that sourcetype:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[YourSourcetypeNameHere]
TIME_PREFIX = ZZZ-
TIME_FORMAT = %Y%m%d-%H:%M:%S-
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Save this on the first full Splunk instance that receives the events and restart the instance, any new incoming events should have the second timestamp as their &lt;CODE&gt;_time&lt;/CODE&gt; field.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2019 19:27:15 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2019-11-18T19:27:15Z</dc:date>
    <item>
      <title>How to transform multiple timestamps in an event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-transform-multiple-timestamps-in-an-event/m-p/486573#M83330</link>
      <description>&lt;P&gt;I have an event that prints the actual time which Splunk metadata has, but instead, I want to use the other timestamp.&lt;BR /&gt;
Splunk time shows 8/15/18&lt;BR /&gt;
2:12:44.000 PM which it extracts from the Verbose line but I am interested to use the ZZZ-20190802-13:18:06-0000000001-3820-0 so that my Splunk time is based on ZZZ field&lt;/P&gt;

&lt;P&gt;VERBOSE abc 08/15/18 18:12:44 xyz&lt;BR /&gt;
DETAILS abc123  0.594s  abc: 0.336s :abc: 0.001s  ZZZ-20190802-13:18:06-0000000001-3820-0&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 18:44:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-transform-multiple-timestamps-in-an-event/m-p/486573#M83330</guid>
      <dc:creator>MOHITJOSHI</dc:creator>
      <dc:date>2019-11-18T18:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to transform multiple timestamps in an event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-transform-multiple-timestamps-in-an-event/m-p/486574#M83331</link>
      <description>&lt;P&gt;Hi MOHITJOSHI,&lt;/P&gt;

&lt;P&gt;try this in props.conf for that sourcetype:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[YourSourcetypeNameHere]
TIME_PREFIX = ZZZ-
TIME_FORMAT = %Y%m%d-%H:%M:%S-
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Save this on the first full Splunk instance that receives the events and restart the instance, any new incoming events should have the second timestamp as their &lt;CODE&gt;_time&lt;/CODE&gt; field.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 19:27:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-transform-multiple-timestamps-in-an-event/m-p/486574#M83331</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2019-11-18T19:27:15Z</dc:date>
    </item>
  </channel>
</rss>

