<?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 in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571684#M199209</link>
    <description>&lt;P&gt;you right about "where", it was my fault.&lt;/P&gt;&lt;P&gt;it work now in result page I have filed that call "servername" need to group by servername&lt;/P&gt;&lt;P&gt;current result:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;servername&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;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; B&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; IDS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;server1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:00:00.043&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;server1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:00:00.033&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;server1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:00:00.093&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;server2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:00:00.099&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;expected result:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;servername&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;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; B&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; IDS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;server1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:00:00.043&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;00:00:00.033&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;00:00:00.093&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;server2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:00:00.099&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Oct 2021 15:35:35 GMT</pubDate>
    <dc:creator>indeed_2000</dc:creator>
    <dc:date>2021-10-20T15:35:35Z</dc:date>
    <item>
      <title>calculate duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571537#M199161</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;need to calcualte duration bettween each Out/In where A=A+100 B=B IDS=IDS&lt;/P&gt;&lt;P&gt;00:03:02.067 app catZZ_DDP_AP: O[host]A[&lt;FONT color="#0000FF"&gt;1000&lt;/FONT&gt;]B[&lt;FONT color="#008000"&gt;123456&lt;/FONT&gt;]IDS[&lt;FONT color="#800000"&gt;123456789987&lt;/FONT&gt;]&lt;BR /&gt;00:03:02.110 app catZZ_DDP_AP: I[host]A[&lt;FONT color="#0000FF"&gt;1100&lt;/FONT&gt;]B[&lt;FONT color="#008000"&gt;123456&lt;/FONT&gt;]IDS[&lt;FONT color="#800000"&gt;123456789987&lt;/FONT&gt;]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;expected output:&lt;BR /&gt;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; B&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; IDS&lt;BR /&gt;00:00:00.043&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/P&gt;&lt;P&gt;Any idea?&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 11:46:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571537#M199161</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2021-10-20T11:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: calculate duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571540#M199162</link>
      <description>&lt;P&gt;Would this work for you?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats earliest(_time) as start latest(_time) as end by B IDS
| eval duration=tostring(end-start,"duration")
| table duration B IDS&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 19 Oct 2021 18:04:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571540#M199162</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-10-19T18:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: calculate duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571620#M199191</link>
      <description>&lt;P&gt;Thanks for answer, without the "where" I mention doesn't return correct duration.&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 09:17:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571620#M199191</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2021-10-20T09:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: calculate duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571628#M199195</link>
      <description>&lt;P&gt;Can you share more representative example data to show why it doesn't work?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 09:51:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571628#M199195</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-10-20T09:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: calculate duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571632#M199199</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have lot's of line like this so I need to if A,B,IDS matched with each other get latest one and calculate duration&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1-step one, where:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A=A+100 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;B=B &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;IDS=IDS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2-step two, find latest one&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3-calculate duration&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;00:03:00.010 app catZZ_DDP_AP: O[host]A[&lt;FONT color="#0000FF"&gt;1000&lt;/FONT&gt;]B[&lt;FONT color="#008000"&gt;123456&lt;/FONT&gt;]IDS[&lt;FONT color="#800000"&gt;123456789987&lt;/FONT&gt;]&lt;BR /&gt;00:03:00.020 app catZZ_DDP_AP: I[host]A[&lt;FONT color="#0000FF"&gt;1100&lt;/FONT&gt;]B[&lt;FONT color="#008000"&gt;123456&lt;/FONT&gt;]IDS[&lt;FONT color="#800000"&gt;123456789987&lt;/FONT&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;00:03:01.025 app catZZ_DDP_AP: O[host]A[&lt;FONT color="#0000FF"&gt;1000&lt;/FONT&gt;]B[&lt;FONT color="#008000"&gt;123456&lt;/FONT&gt;]IDS[&lt;FONT color="#800000"&gt;123456789987&lt;/FONT&gt;]&lt;BR /&gt;00:03:01.026 app catZZ_DDP_AP: I[host]A[&lt;FONT color="#0000FF"&gt;1100&lt;/FONT&gt;]B[&lt;FONT color="#008000"&gt;123456&lt;/FONT&gt;]IDS[&lt;FONT color="#800000"&gt;123456789987&lt;/FONT&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;00:03:02.067 app catZZ_DDP_AP: O[host]A[&lt;FONT color="#0000FF"&gt;1000&lt;/FONT&gt;]B[&lt;FONT color="#008000"&gt;123456&lt;/FONT&gt;]IDS[&lt;FONT color="#800000"&gt;123456789987&lt;/FONT&gt;]&lt;BR /&gt;00:03:02.110 app catZZ_DDP_AP: I[host]A[&lt;FONT color="#0000FF"&gt;1100&lt;/FONT&gt;]B[&lt;FONT color="#008000"&gt;123456&lt;/FONT&gt;]IDS[&lt;FONT color="#800000"&gt;123456789987&lt;/FONT&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;output:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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; B&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; IDS&lt;BR /&gt;00:00:00.043&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 11:47:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571632#M199199</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2021-10-20T11:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: calculate duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571633#M199200</link>
      <description>&lt;LI-CODE lang="markup"&gt;| sort 0 B IDS _time
| streamstats latest(_time) as previous_time window=1 current=f by B IDS
| stats latest(previous_time) as start latest(_time) as end by B IDS
| eval duration=tostring(end-start,"duration")
| table duration B IDS&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 20 Oct 2021 11:00:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571633#M199200</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-10-20T11:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: calculate duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571641#M199201</link>
      <description>&lt;P&gt;still return incorrect duration for some of the events that is not&amp;nbsp;&lt;SPAN&gt;A=A+100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;e.g:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it find 3 events like this and consider first line as OUT while second line is OUT event of the third line. if condition check "A=&lt;FONT color="#0000FF"&gt;1000&lt;/FONT&gt;" must be match to "A+100=&lt;FONT color="#0000FF"&gt;1100&lt;/FONT&gt;" it will be fixed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;00:03:00.000 app catZZ_DDP_AP: O[host]A[&lt;FONT color="#FF0000"&gt;2000&lt;/FONT&gt;]B[&lt;FONT color="#000000"&gt;123456&lt;/FONT&gt;]IDS[&lt;FONT color="#000000"&gt;123456789987&lt;/FONT&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;00:03:02.067 app catZZ_DDP_AP: O[host]A[&lt;FONT color="#0000FF"&gt;1000&lt;/FONT&gt;]B[&lt;FONT color="#000000"&gt;123456&lt;/FONT&gt;]IDS[&lt;FONT color="#000000"&gt;123456789987&lt;/FONT&gt;]&lt;BR /&gt;00:03:02.110 app catZZ_DDP_AP: I[host]A[&lt;FONT color="#0000FF"&gt;1100&lt;/FONT&gt;]B[&lt;FONT color="#000000"&gt;123456&lt;/FONT&gt;]IDS[&lt;FONT color="#000000"&gt;123456789987&lt;/FONT&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;current output:&lt;/P&gt;&lt;P&gt;duration =&amp;nbsp;&lt;SPAN&gt;00:00:02.110&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;expected output:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;duration =&amp;nbsp;00:00:00.043&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"A" of each OUT must be match with "A"+100 means 1100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if "A" of OUT is 4000 then "A" of IN shoud be 4100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 11:59:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571641#M199201</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2021-10-20T11:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: calculate duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571642#M199202</link>
      <description>&lt;LI-CODE lang="markup"&gt;| sort 0 B IDS _time
| streamstats latest(_time) as previous_time latest(A) as previousA window=1 current=f by B IDS
| where A=previousA+100
| stats latest(previous_time) as start latest(_time) as end by B IDS
| eval duration=tostring(end-start,"duration")
| table duration B IDS&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 20 Oct 2021 12:07:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571642#M199202</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-10-20T12:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: calculate duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571651#M199205</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I think this line need to be replace with "match" instead of "where"&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;| where A=previousA+100&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;currently put result in A while it shoud check them&amp;nbsp;&lt;/P&gt;&lt;P&gt;if A equal to A+100 they match then calculate duration.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 12:55:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571651#M199205</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2021-10-20T12:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: calculate duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571653#M199206</link>
      <description>&lt;P&gt;Where is keeping events in the pipeline where A in the event is equal to previousA + 100 - it is not an assignment&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 13:00:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571653#M199206</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-10-20T13:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: calculate duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571684#M199209</link>
      <description>&lt;P&gt;you right about "where", it was my fault.&lt;/P&gt;&lt;P&gt;it work now in result page I have filed that call "servername" need to group by servername&lt;/P&gt;&lt;P&gt;current result:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;servername&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;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; B&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; IDS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;server1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:00:00.043&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;server1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:00:00.033&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;server1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:00:00.093&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;server2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:00:00.099&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;expected result:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;servername&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;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; B&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; IDS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;server1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:00:00.043&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;00:00:00.033&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;00:00:00.093&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;server2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:00:00.099&amp;nbsp; &amp;nbsp; &amp;nbsp; 123456&amp;nbsp; &amp;nbsp; &amp;nbsp;123456789987&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 15:35:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571684#M199209</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2021-10-20T15:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: calculate duration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571687#M199210</link>
      <description>&lt;P&gt;If you really want servername "removed" or other fields grouped by servername try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats list(duration) as duration list(B) as B list(IDS) as IDS by servername&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 20 Oct 2021 15:54:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/calculate-duration/m-p/571687#M199210</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-10-20T15:54:50Z</dc:date>
    </item>
  </channel>
</rss>

