<?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: Make a slippery transaction within 20 events, how do I calculate the duration between the 1st and 20th event, 2nd and 21st, etc? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Make-a-slippery-transaction-within-20-events-how-do-I-calculate/m-p/132369#M36108</link>
    <description>&lt;P&gt;Thanks a lot, perfectly doing what I want &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
I used:&lt;BR /&gt;
 where row &amp;gt;20 &lt;BR /&gt;
to remove the twenty first events&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jul 2015 09:56:35 GMT</pubDate>
    <dc:creator>collier31200</dc:creator>
    <dc:date>2015-07-27T09:56:35Z</dc:date>
    <item>
      <title>Make a slippery transaction within 20 events, how do I calculate the duration between the 1st and 20th event, 2nd and 21st, etc?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Make-a-slippery-transaction-within-20-events-how-do-I-calculate/m-p/132367#M36106</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;I'm trying to make a slippery transaction within 20 events. &lt;BR /&gt;
For example, my search return 40 events and I need to calculate the duration between:&lt;BR /&gt;
the first event and the twentieth,&lt;BR /&gt;
the second and the twenty first,&lt;BR /&gt;
the third and the twenty second&lt;BR /&gt;
etc...&lt;/P&gt;

&lt;P&gt;With this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;transaction Routed maxevents=20 mvlist=t
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Splunk only calculates 2 durations: between the first event and the twentieth, and the twenty first and the fortieth.&lt;/P&gt;

&lt;P&gt;Please HELPPP &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2015 15:13:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Make-a-slippery-transaction-within-20-events-how-do-I-calculate/m-p/132367#M36106</guid>
      <dc:creator>collier31200</dc:creator>
      <dc:date>2015-07-22T15:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Make a slippery transaction within 20 events, how do I calculate the duration between the 1st and 20th event, 2nd and 21st, etc?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Make-a-slippery-transaction-within-20-events-how-do-I-calculate/m-p/132368#M36107</link>
      <description>&lt;P&gt;If you're only looking for the duration you can use this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=foo sourcetype=bar Routed=* | streamstats window=20 global=f range(_time) as duration by Routed
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note, the first nineteen events may compute the duration between 1 and 1, 1 and 2, ..., 1 and 19.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2015 16:15:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Make-a-slippery-transaction-within-20-events-how-do-I-calculate/m-p/132368#M36107</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-07-22T16:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Make a slippery transaction within 20 events, how do I calculate the duration between the 1st and 20th event, 2nd and 21st, etc?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Make-a-slippery-transaction-within-20-events-how-do-I-calculate/m-p/132369#M36108</link>
      <description>&lt;P&gt;Thanks a lot, perfectly doing what I want &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
I used:&lt;BR /&gt;
 where row &amp;gt;20 &lt;BR /&gt;
to remove the twenty first events&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2015 09:56:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Make-a-slippery-transaction-within-20-events-how-do-I-calculate/m-p/132369#M36108</guid>
      <dc:creator>collier31200</dc:creator>
      <dc:date>2015-07-27T09:56:35Z</dc:date>
    </item>
  </channel>
</rss>

