<?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: Percentile calculation in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Percentile-calculation/m-p/64931#M16035</link>
    <description>&lt;P&gt;You could replace your stats with something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats count as total count(eval(duration&amp;lt;0.075)) as count | eval percentage = count * 100 / total
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 18 Mar 2013 12:29:59 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2013-03-18T12:29:59Z</dc:date>
    <item>
      <title>Percentile calculation</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percentile-calculation/m-p/64930#M16034</link>
      <description>&lt;P&gt;source="file.txt"  | transaction startswith="message1" endswith="message2" | stats count values(duration) as DUR&lt;/P&gt;

&lt;P&gt;log file 5 events are matching&lt;/P&gt;

&lt;P&gt;count      DUR &lt;BR /&gt;
5          0.095&lt;BR /&gt;
           0.056&lt;BR /&gt;
           0.075&lt;BR /&gt;
           0.064&lt;BR /&gt;
           0.095&lt;/P&gt;

&lt;P&gt;I want to calculate the percentage of all events duration coming which is less than 75 miliseconds.&lt;/P&gt;

&lt;P&gt;Please let me know how to go ahead.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2013 12:14:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percentile-calculation/m-p/64930#M16034</guid>
      <dc:creator>chaitu99</dc:creator>
      <dc:date>2013-03-18T12:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Percentile calculation</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Percentile-calculation/m-p/64931#M16035</link>
      <description>&lt;P&gt;You could replace your stats with something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats count as total count(eval(duration&amp;lt;0.075)) as count | eval percentage = count * 100 / total
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Mar 2013 12:29:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Percentile-calculation/m-p/64931#M16035</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-03-18T12:29:59Z</dc:date>
    </item>
  </channel>
</rss>

