<?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 Timestamp within event in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-within-event/m-p/390772#M69887</link>
    <description>&lt;P&gt;My log file contains events that sometimes contain timestamp strings of other actions.&lt;BR /&gt;
For example, an event may have occurred at 24/05/19 07:58:12.000, but the event itself contains references to when a certain action was last conducted such as "last update on 5/20/2019 12:45:09.000." .&lt;BR /&gt;
Is it possible to still interpret those values as time values so one could for example create a graph showing all historical updates?&lt;/P&gt;</description>
    <pubDate>Fri, 24 May 2019 15:23:23 GMT</pubDate>
    <dc:creator>splunklearner12</dc:creator>
    <dc:date>2019-05-24T15:23:23Z</dc:date>
    <item>
      <title>Timestamp within event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-within-event/m-p/390772#M69887</link>
      <description>&lt;P&gt;My log file contains events that sometimes contain timestamp strings of other actions.&lt;BR /&gt;
For example, an event may have occurred at 24/05/19 07:58:12.000, but the event itself contains references to when a certain action was last conducted such as "last update on 5/20/2019 12:45:09.000." .&lt;BR /&gt;
Is it possible to still interpret those values as time values so one could for example create a graph showing all historical updates?&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 15:23:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-within-event/m-p/390772#M69887</guid>
      <dc:creator>splunklearner12</dc:creator>
      <dc:date>2019-05-24T15:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp within event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-within-event/m-p/390773#M69888</link>
      <description>&lt;P&gt;Yes, it's possible.  First extract the string into a field then use &lt;CODE&gt;strptime&lt;/CODE&gt; to convert it into a timestamp in epoch form.  For example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex "last update on (?&amp;lt;lastUpdateStr&amp;gt;\S+\s\S+)" | eval lastUpdateTime=strptime(lastUpdateStr, "%m/%d/%Y %H:%M:%S.%3N") | ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 May 2019 16:48:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-within-event/m-p/390773#M69888</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-05-24T16:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp within event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-within-event/m-p/390774#M69889</link>
      <description>&lt;P&gt;Excellent, thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 08:07:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-within-event/m-p/390774#M69889</guid>
      <dc:creator>splunklearner12</dc:creator>
      <dc:date>2019-05-27T08:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp within event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-within-event/m-p/390775#M69890</link>
      <description>&lt;P&gt;@splunklearner1234 If your problem is resolved, please accept the answer to help future readers.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 12:32:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-within-event/m-p/390775#M69890</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-05-28T12:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp within event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-within-event/m-p/390776#M69891</link>
      <description>&lt;P&gt;sorry I though clicking the ^ did that.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 12:36:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-within-event/m-p/390776#M69891</guid>
      <dc:creator>splunklearner12</dc:creator>
      <dc:date>2019-05-28T12:36:19Z</dc:date>
    </item>
  </channel>
</rss>

