<?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 time delay in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/time-delay/m-p/71222#M180817</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;10:27:xx.xxx Message 1&lt;BR /&gt;
10:31:xx.xxx Message 1&lt;BR /&gt;
10:35:xx.xxx Message 1&lt;BR /&gt;
10:38:xx.xxx conf msg&lt;BR /&gt;
10:82:xx.xxx Message 2&lt;BR /&gt;
10:85:xx.xxx req xyz&lt;BR /&gt;
10:87:xx.xxx Message 2&lt;BR /&gt;
10:89:xx.xxx Message 2&lt;/P&gt;

&lt;P&gt;i've sample log like this. here i need to find the delay(time difference) between Message 1 before "conf msg" and Message 2 immediate next to "req xyz" in a single event.&lt;/P&gt;

&lt;P&gt;i used query like this and am not getting the expected result&lt;/P&gt;

&lt;P&gt;transaction startswith=("Message 1") endswith=("Message 2")|search ("conf msg")|stats count perc95(duration) as VALUE&lt;/P&gt;

&lt;P&gt;is there any logic to get the exact result?&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2013 10:04:05 GMT</pubDate>
    <dc:creator>chaitu99</dc:creator>
    <dc:date>2013-03-22T10:04:05Z</dc:date>
    <item>
      <title>time delay</title>
      <link>https://community.splunk.com/t5/Splunk-Search/time-delay/m-p/71222#M180817</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;10:27:xx.xxx Message 1&lt;BR /&gt;
10:31:xx.xxx Message 1&lt;BR /&gt;
10:35:xx.xxx Message 1&lt;BR /&gt;
10:38:xx.xxx conf msg&lt;BR /&gt;
10:82:xx.xxx Message 2&lt;BR /&gt;
10:85:xx.xxx req xyz&lt;BR /&gt;
10:87:xx.xxx Message 2&lt;BR /&gt;
10:89:xx.xxx Message 2&lt;/P&gt;

&lt;P&gt;i've sample log like this. here i need to find the delay(time difference) between Message 1 before "conf msg" and Message 2 immediate next to "req xyz" in a single event.&lt;/P&gt;

&lt;P&gt;i used query like this and am not getting the expected result&lt;/P&gt;

&lt;P&gt;transaction startswith=("Message 1") endswith=("Message 2")|search ("conf msg")|stats count perc95(duration) as VALUE&lt;/P&gt;

&lt;P&gt;is there any logic to get the exact result?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2013 10:04:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/time-delay/m-p/71222#M180817</guid>
      <dc:creator>chaitu99</dc:creator>
      <dc:date>2013-03-22T10:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: time delay</title>
      <link>https://community.splunk.com/t5/Splunk-Search/time-delay/m-p/71223#M180818</link>
      <description>&lt;P&gt;It would help to see the rest of the event to know what fields are available to create a mvlist. What I have done, similar to what you are wanting to do, is broken out the entire event into 5 or 6 fields, then group them by the field that is common to that transaction... Such as ip_address. This is much easier when you setup a transactiontypes.conf for the transaction you are looking to create.&lt;/P&gt;

&lt;P&gt;Example of transaction from transactiontypes.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[event_collection]
fields = ip_address
startswith ="Login"
endswith ="Submit"
mvlist = event_type, event_timestamp, ip_address, user_id
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2013 23:15:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/time-delay/m-p/71223#M180818</guid>
      <dc:creator>ShaneNewman</dc:creator>
      <dc:date>2013-03-22T23:15:33Z</dc:date>
    </item>
  </channel>
</rss>

