<?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: calculate duration on a custom time stamp in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/calculate-duration-on-a-custom-time-stamp/m-p/234846#M176190</link>
    <description>&lt;P&gt;try something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval newTime=strptime(timeStr, "%H:%M")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to convert the timestamps and then you should be able to use that in an eval to substract timestamps.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2016 12:54:36 GMT</pubDate>
    <dc:creator>cmerriman</dc:creator>
    <dc:date>2016-11-22T12:54:36Z</dc:date>
    <item>
      <title>calculate duration on a custom time stamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/calculate-duration-on-a-custom-time-stamp/m-p/234845#M176189</link>
      <description>&lt;P&gt;my time stamps are in %H:%M format. one of which is a custom time stamp from my json file. &lt;BR /&gt;
is there a way i can calculate the duration with this timestamp&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 05:27:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/calculate-duration-on-a-custom-time-stamp/m-p/234845#M176189</guid>
      <dc:creator>twilishyflutter</dc:creator>
      <dc:date>2016-11-22T05:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: calculate duration on a custom time stamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/calculate-duration-on-a-custom-time-stamp/m-p/234846#M176190</link>
      <description>&lt;P&gt;try something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval newTime=strptime(timeStr, "%H:%M")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to convert the timestamps and then you should be able to use that in an eval to substract timestamps.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 12:54:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/calculate-duration-on-a-custom-time-stamp/m-p/234846#M176190</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-11-22T12:54:36Z</dc:date>
    </item>
  </channel>
</rss>

