<?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 do you compare timestamps from two rows? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-compare-timestamps-from-two-rows/m-p/453661#M78579</link>
    <description>&lt;P&gt;you can use &lt;CODE&gt;streamstats&lt;/CODE&gt; to find the difference in two events. But first make sure they are sorted properly i.e both the events are next to each other.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Feb 2019 17:33:39 GMT</pubDate>
    <dc:creator>macadminrohit</dc:creator>
    <dc:date>2019-02-05T17:33:39Z</dc:date>
    <item>
      <title>How do you compare timestamps from two rows?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-compare-timestamps-from-two-rows/m-p/453658#M78576</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I have a requirement where i have to know if the transaction key is processed within 3 seconds. I need to compare two unique references and take the latest timestamp. For e.g., I have two unique references, "ABC1" and "ABC2", and both of them have multiple records in the logs. I have to take the first timestamp from ABC1 and ABC2, and it should be less than 3 seconds.&lt;/P&gt;

&lt;P&gt;Can you all please give me some points which i can follow to complete this requirement?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 14:24:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-compare-timestamps-from-two-rows/m-p/453658#M78576</guid>
      <dc:creator>pratibha0610</dc:creator>
      <dc:date>2019-02-05T14:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do you compare timestamps from two rows?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-compare-timestamps-from-two-rows/m-p/453659#M78577</link>
      <description>&lt;P&gt;Once you've searched for the relevant events, &lt;CODE&gt;stats range(_time) as duration&lt;/CODE&gt; will tell you how much time was spanned by the events.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 15:58:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-compare-timestamps-from-two-rows/m-p/453659#M78577</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-02-05T15:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do you compare timestamps from two rows?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-compare-timestamps-from-two-rows/m-p/453660#M78578</link>
      <description>&lt;P&gt;Hi richgalloway,&lt;BR /&gt;
Thanks for the response.&lt;BR /&gt;
I also need to compare the two records.&lt;BR /&gt;
The search results in many rows. I use the search index= applicationet sourcetype=Rex&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 17:24:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-compare-timestamps-from-two-rows/m-p/453660#M78578</guid>
      <dc:creator>pratibha0610</dc:creator>
      <dc:date>2019-02-05T17:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do you compare timestamps from two rows?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-compare-timestamps-from-two-rows/m-p/453661#M78579</link>
      <description>&lt;P&gt;you can use &lt;CODE&gt;streamstats&lt;/CODE&gt; to find the difference in two events. But first make sure they are sorted properly i.e both the events are next to each other.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 17:33:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-compare-timestamps-from-two-rows/m-p/453661#M78579</guid>
      <dc:creator>macadminrohit</dc:creator>
      <dc:date>2019-02-05T17:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do you compare timestamps from two rows?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-compare-timestamps-from-two-rows/m-p/453662#M78580</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
Thanks for the reply. Can I also sort the logs based on the unique key?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 17:35:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-compare-timestamps-from-two-rows/m-p/453662#M78580</guid>
      <dc:creator>pratibha0610</dc:creator>
      <dc:date>2019-02-05T17:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do you compare timestamps from two rows?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-compare-timestamps-from-two-rows/m-p/453663#M78581</link>
      <description>&lt;P&gt;Yes you can , best would be to show some sample rows/events for which you want to find the time difference.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 17:38:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-compare-timestamps-from-two-rows/m-p/453663#M78581</guid>
      <dc:creator>macadminrohit</dc:creator>
      <dc:date>2019-02-05T17:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do you compare timestamps from two rows?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-compare-timestamps-from-two-rows/m-p/453664#M78582</link>
      <description>&lt;P&gt;hi,&lt;BR /&gt;
I have below as my records as my search results. Highlighted ones are unique key. I want compare between the record 1 and 3 , 2 and 4 display the incremented count.&lt;/P&gt;

&lt;P&gt;Record 1    null - 2019-02-01T12:55:58.270 - Quename- INL_TTI_01 - &lt;STRONG&gt;Inbound&lt;/STRONG&gt; - Process -  &lt;STRONG&gt;ABCODSC123245678&lt;/STRONG&gt;:Record processed Successfully&lt;BR /&gt;
Record 2   null - 2019-02-01T12:55:59.270 - Quename- INL_TTI_01 - &lt;STRONG&gt;Inbound&lt;/STRONG&gt; - Process -  &lt;STRONG&gt;ABCODSC123248888&lt;/STRONG&gt;:Record processed Successfully&lt;BR /&gt;
Record 3   null - 2019-02-01T12:55:58.777 - Quename- INL_TTI_01 - &lt;STRONG&gt;Outbound&lt;/STRONG&gt; - Process -  &lt;STRONG&gt;ABCODSC123245678&lt;/STRONG&gt;:Record processed Successfully&lt;BR /&gt;
Record 4   null - 2019-02-01T12:55:60.270 - Quename- INL_TTI_01 - &lt;STRONG&gt;Outbound&lt;/STRONG&gt; - Process -  &lt;STRONG&gt;ABCODSC123248888&lt;/STRONG&gt;:Record processed Successfully&lt;BR /&gt;
Record 5   null - 2019-02-01T12:55:62.270 - Quename- INL_TTI_01 - Outbound - Process -  ABCODSC123245678:Record processed Successfully&lt;BR /&gt;
.&lt;BR /&gt;
.&lt;BR /&gt;
.&lt;BR /&gt;
.&lt;BR /&gt;
.&lt;BR /&gt;
n&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:10:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-compare-timestamps-from-two-rows/m-p/453664#M78582</guid>
      <dc:creator>pratibha0610</dc:creator>
      <dc:date>2020-09-29T23:10:37Z</dc:date>
    </item>
  </channel>
</rss>

