<?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 Transaction Duration in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Calculate-Transaction-Duration/m-p/559903#M159100</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/57922"&gt;@efika&lt;/a&gt;&amp;nbsp;Thank you for answer,&lt;/P&gt;&lt;P&gt;would you please tell me complete SPL command?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 17 Jul 2021 14:16:31 GMT</pubDate>
    <dc:creator>indeed_2000</dc:creator>
    <dc:date>2021-07-17T14:16:31Z</dc:date>
    <item>
      <title>Calculate Transaction Duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Calculate-Transaction-Duration/m-p/559890#M159094</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i have log file like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2021-07-15 00:00:01,869 INFO client.InEE-server1-&lt;STRONG&gt;&lt;FONT color="#00FF00"&gt;&lt;A href="tel:1234567" target="_blank" rel="noopener"&gt;1234567&lt;/A&gt;&lt;/FONT&gt; &lt;/STRONG&gt;[&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;AppListener&lt;/STRONG&gt;&lt;/FONT&gt;] &lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;Receive Message&lt;/STRONG&gt;&lt;/FONT&gt;[A123]: Q[p1.APP], IID[null], Cookie[{"NODE_SRC":"&lt;STRONG&gt;server0&lt;/STRONG&gt;"}]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2021-07-15 00:00:01,871 INFO client.InEE-server1-&lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;1234567&lt;/STRONG&gt;&lt;/FONT&gt; [AlnProcessorService] &lt;STRONG&gt;&lt;FONT color="#800080"&gt;Normal Message Received&lt;/FONT&gt;&lt;/STRONG&gt;: A[000] B[00000] CD[00000-000000] EF[00:0000] GH[ 0000] SA[&lt;STRONG&gt;client.InEE-server1&lt;/STRONG&gt;]&lt;/P&gt;&lt;P&gt;2021-07-15 00:00:01,892 INFO client.InEE-server1-&lt;STRONG&gt;&lt;FONT color="#3366FF"&gt;1234567&lt;/FONT&gt;&lt;/STRONG&gt; [TransactionProcessorService] &lt;FONT color="#008000"&gt;Message Processed&lt;/FONT&gt;: A[000] TA[&lt;STRONG&gt;client.OutEE-server2&lt;/STRONG&gt;] Status[OK-GO,NEXT]&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2021-07-15 00:00:01,988 INFO APP.InEE-server1-&lt;U&gt;&lt;STRONG&gt;&lt;FONT color="#00FF00"&gt;&lt;A href="tel:1234567" target="_blank" rel="noopener"&gt;1234567&lt;/A&gt;&lt;/FONT&gt;&lt;/STRONG&gt; &lt;/U&gt;[&lt;STRONG&gt;&lt;FONT color="#00CCFF"&gt;AaaPowerManager&lt;/FONT&gt;&lt;/STRONG&gt;] &lt;FONT color="#333399"&gt;&lt;STRONG&gt;Send Message&lt;/STRONG&gt; &lt;/FONT&gt;[X0000A0000] to [APP.p2] with IID[null], LTE[00000]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;.&lt;BR /&gt;&lt;SPAN&gt;2021-07-15 00:00:11,714 INFO APP.InE-p2-&lt;STRONG&gt;&lt;FONT color="#FF00FF"&gt;9876543&lt;/FONT&gt; &lt;/STRONG&gt;[&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;AppListener&lt;/FONT&gt;&lt;/STRONG&gt;] &lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;Receive Message&lt;/FONT&gt;&lt;/STRONG&gt;[Y000000Z00000]: Q[p2.APP], IID[null], Cookie[null&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2021-07-15 00:00:11,719 INFO client.InEE-server2-&lt;STRONG&gt;&lt;FONT color="#FF00FF"&gt;9876543&lt;/FONT&gt;&lt;/STRONG&gt;_client.InEE-server1-&lt;STRONG&gt;&lt;FONT color="#3366FF"&gt;1234567&lt;/FONT&gt;&lt;/STRONG&gt; [TransactionProcessorService] &lt;FONT color="#800080"&gt;&lt;STRONG&gt;Normal Message Received&lt;/STRONG&gt;&lt;/FONT&gt;:A[000] B[00000] CD[00000-000000] EF[00:0000] GH[ 0000] SA[&lt;STRONG&gt;client.InEE-server2&lt;/STRONG&gt;]&lt;/P&gt;&lt;P&gt;2021-07-15 00:00:11,736 INFO client.InEE-server2-&lt;FONT color="#FF00FF"&gt;&lt;STRONG&gt;9876543&lt;/STRONG&gt;&lt;/FONT&gt;_client.InEE-server1-&lt;STRONG&gt;&lt;FONT color="#3366FF"&gt;1234567&lt;/FONT&gt;&lt;/STRONG&gt; [TransactionProcessorService] &lt;FONT color="#008000"&gt;Message Processed&lt;/FONT&gt;:A[000] B[00000] CD[00000-000000] EF[00:0000] GH[ 0000] TA[&lt;STRONG&gt;client.OutEE-server1&lt;/STRONG&gt;] Status[OK-OUT,null]&lt;BR /&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2021-07-15 00:00:11,747 INFO APP.InEE-P2-&lt;STRONG&gt;&lt;FONT color="#FF00FF"&gt;9876543&lt;/FONT&gt;&lt;/STRONG&gt;_CLIENT.InEE-server1-&lt;FONT color="#00FF00"&gt;&lt;STRONG&gt;&lt;A href="tel:1234567" target="_blank" rel="noopener"&gt;1234567&lt;/A&gt;&lt;/STRONG&gt; &lt;/FONT&gt;[&lt;STRONG&gt;&lt;FONT color="#00CCFF"&gt;AaaPowerManager&lt;/FONT&gt;&lt;/STRONG&gt;] &lt;STRONG&gt;&lt;FONT color="#333399"&gt;Send Message&lt;/FONT&gt;&lt;/STRONG&gt; [A123] to [APP.p1] with IID[null], LTE[00000]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is the flow:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;step1 (Receive Request):&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Server0&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Client.InEE-server1&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;Client.OutEE-server2&amp;gt; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;step2 (Reply to request)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Client.InEE-server2&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Client.OutEE-server1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;expected result:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;id &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Source &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; destination &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; State &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; duration&lt;/P&gt;&lt;P&gt;&lt;A href="tel:1234567" target="_blank" rel="noopener"&gt;1234567&lt;/A&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Server0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;Client.InEE-server1&lt;/SPAN&gt;&lt;/STRONG&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#800080"&gt;Received&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;00:00:00:002&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="tel:1234567" target="_blank" rel="noopener"&gt;1234567&lt;/A&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#008000"&gt;Processed&lt;/FONT&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN&gt;00:00:00:021&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;A href="tel:1234567" target="_blank" rel="noopener"&gt;1234567&lt;/A&gt;,&lt;SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#FF00FF"&gt;9876543&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&lt;FONT color="#333399"&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#000000"&gt;Client.InEE-server2&lt;/FONT&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Send&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000000"&gt;00:00:00:096&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#FF00FF"&gt;9876543&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;FONT color="#333399"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;Client.InEE-server2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&lt;SPAN&gt;&lt;FONT color="#333399"&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;Receive&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN&gt;00:00:09:726&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#FF00FF"&gt;9876543 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#FF00FF"&gt;&lt;FONT color="#000000"&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#FF00FF"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#FF00FF"&gt;&lt;FONT color="#800080"&gt;Received &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#FF00FF"&gt;&lt;FONT color="#800080"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&amp;nbsp;00:00:00:005&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#FF00FF"&gt;9876543&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;FONT color="#008000"&gt;Processed&lt;/FONT&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;00:00:00:017&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#FF00FF"&gt;9876543,&lt;A href="tel:1234567" target="_blank" rel="noopener"&gt;1234567&lt;/A&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;FONT color="#333399"&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#000000"&gt;Client.OutEE-server1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Send&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#FF00FF"&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;00:00:00:011&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Total duration &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;00:00:09:878&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI: &amp;nbsp;SA=source address,&amp;nbsp;&lt;SPAN&gt;TA=target address&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any idea&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jul 2021 08:32:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Calculate-Transaction-Duration/m-p/559890#M159094</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2021-07-17T08:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Transaction Duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Calculate-Transaction-Duration/m-p/559893#M159096</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/217339"&gt;@indeed_2000&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You can use the &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.1/SearchReference/Transaction" target="_self"&gt;transaction&lt;/A&gt; command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;transaction id  startswith=(State=Received) endswith=(State=Send)&lt;/LI-CODE&gt;&lt;P&gt;The duration field will be created for you by the command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jul 2021 09:34:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Calculate-Transaction-Duration/m-p/559893#M159096</guid>
      <dc:creator>efika</dc:creator>
      <dc:date>2021-07-17T09:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Transaction Duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Calculate-Transaction-Duration/m-p/559903#M159100</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/57922"&gt;@efika&lt;/a&gt;&amp;nbsp;Thank you for answer,&lt;/P&gt;&lt;P&gt;would you please tell me complete SPL command?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jul 2021 14:16:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Calculate-Transaction-Duration/m-p/559903#M159100</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2021-07-17T14:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Transaction Duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Calculate-Transaction-Duration/m-p/559905#M159102</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/217339"&gt;@indeed_2000&lt;/a&gt;&amp;nbsp;, what I wrote below is the complete SPL command assuming &lt;EM&gt;id &lt;/EM&gt;and &lt;EM&gt;State &lt;/EM&gt;are the correct fields just like you described.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jul 2021 14:31:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Calculate-Transaction-Duration/m-p/559905#M159102</guid>
      <dc:creator>efika</dc:creator>
      <dc:date>2021-07-17T14:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Transaction Duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Calculate-Transaction-Duration/m-p/559907#M159103</link>
      <description>&lt;P&gt;actually i want full SPL commands, because one of the problem is that I can’t extract fields on table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jul 2021 14:39:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Calculate-Transaction-Duration/m-p/559907#M159103</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2021-07-17T14:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Transaction Duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Calculate-Transaction-Duration/m-p/559924#M159109</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/217339"&gt;@indeed_2000&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;What system/app is generating this logs ? did you try to find a TA on Splunkbase for it ?&lt;/P&gt;&lt;P&gt;At any rate, based on the logs you attached, this is what I came up with :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "\-(?&amp;lt;id&amp;gt;\d+)\s*(\[|\_).*\-(?&amp;lt;id2&amp;gt;\d+)\s*(\[|\_)" 
| rex "(?&amp;lt;State&amp;gt;(Receive|Send|Received|Processed))(\s+Message|\:)" 
| transaction id startswith=(State=Received) endswith=(State=Send)&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 17 Jul 2021 19:15:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Calculate-Transaction-Duration/m-p/559924#M159109</guid>
      <dc:creator>efika</dc:creator>
      <dc:date>2021-07-17T19:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Transaction Duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Calculate-Transaction-Duration/m-p/559925#M159110</link>
      <description>&lt;P&gt;it's a custom app unfortunately there is no TA for that.&lt;/P&gt;&lt;P&gt;after run what you mention get this result&amp;nbsp;&lt;/P&gt;&lt;P&gt;id&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; duration&lt;/P&gt;&lt;P&gt;9876543&amp;nbsp; &amp;nbsp; 1234567&amp;nbsp; &amp;nbsp; 00:00:00:028&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;seems just apply for last part.&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;P&gt;thank&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jul 2021 21:34:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Calculate-Transaction-Duration/m-p/559925#M159110</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2021-07-17T21:34:27Z</dc:date>
    </item>
  </channel>
</rss>

