<?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: Transaction using timestamp in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Transaction-using-timestamp/m-p/199337#M39472</link>
    <description>&lt;P&gt;Have you tried '&lt;CODE&gt;... | sort -evnt_ts | ...&lt;/CODE&gt;'?&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jan 2014 12:59:04 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2014-01-10T12:59:04Z</dc:date>
    <item>
      <title>Transaction using timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transaction-using-timestamp/m-p/199336#M39471</link>
      <description>&lt;P&gt;I have the following query. &lt;BR /&gt;
index="someindex" | sort +evnt_ts | transaction dcn,evnt_ts keepevicted="t"| table dcn,_time,evnt_ts&lt;/P&gt;

&lt;P&gt;There are 15 events for each dcn. When I do 'transaction dcn', I get the results properly with evnt_ts grouped together. I need to results come in ascending time sequence as I want to use 'delta' command to find the time difference between each events. When I run the above query, the timestamp is always in reverse order (most recent time first). I even tried |reverse. Nothing works. Any luck. &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:37:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transaction-using-timestamp/m-p/199336#M39471</guid>
      <dc:creator>Sriram</dc:creator>
      <dc:date>2020-09-28T15:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction using timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transaction-using-timestamp/m-p/199337#M39472</link>
      <description>&lt;P&gt;Have you tried '&lt;CODE&gt;... | sort -evnt_ts | ...&lt;/CODE&gt;'?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2014 12:59:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transaction-using-timestamp/m-p/199337#M39472</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2014-01-10T12:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction using timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transaction-using-timestamp/m-p/199338#M39473</link>
      <description>&lt;P&gt;Yes. I got the same result with event_ts, how sort using _time helped.I managed to make it work by specifying "startwith" as well as with those sort as there are many similar transaction with same dcn. Thanks again. &lt;/P&gt;

&lt;P&gt;index="someindex" | transaction dcn startswith="020"| eval "Response Time(Secs)" = round(duration,2) | eval "Event Time"=strftime(_time, "%m-%d-%Y %H:%M:%S") | rename  rcvd_dt as "Received Date" dcn as DCN | table "Event Time", "Received Date" , DCN, , "Response Time(Secs)" | sort -"Event Time"&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:38:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transaction-using-timestamp/m-p/199338#M39473</guid>
      <dc:creator>Sriram</dc:creator>
      <dc:date>2020-09-28T15:38:30Z</dc:date>
    </item>
  </channel>
</rss>

