<?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: p90 in splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-percentile-90-of-the-response-time-in-Splunk/m-p/623908#M107329</link>
    <description>&lt;P&gt;I don't know exactly how Splunk computes the perc90 number other than using the "Nearest Rank" algorithm, but the docs at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.2/SearchReference/Aggregatefunctions#perc.26lt.3BX.26gt.3B.28Y.29" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.2/SearchReference/Aggregatefunctions#perc.26lt.3BX.26gt.3B.28Y.29&lt;/A&gt;&amp;nbsp;call it an estimate.&amp;nbsp; You can try the &lt;FONT face="courier new,courier"&gt;exactperc90&lt;/FONT&gt; function to see if it gives a better result.&lt;/P&gt;</description>
    <pubDate>Sat, 10 Dec 2022 19:12:40 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-12-10T19:12:40Z</dc:date>
    <item>
      <title>How to get the percentile 90 of the response time in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-percentile-90-of-the-response-time-in-Splunk/m-p/623823#M107316</link>
      <description>&lt;P&gt;Hi Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I want to get the percentile 90 of the response time in splunk. Suppose I have the below response times. What is the query with which I can get the percentile 90 in Splunk&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.379&lt;BR /&gt;1.276&lt;BR /&gt;1.351&lt;BR /&gt;2.062&lt;BR /&gt;1.465&lt;BR /&gt;3.107&lt;BR /&gt;1.621&lt;BR /&gt;1.901&lt;BR /&gt;1.562&lt;BR /&gt;27.203&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help on the same&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 16:14:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-percentile-90-of-the-response-time-in-Splunk/m-p/623823#M107316</guid>
      <dc:creator>Subarna</dc:creator>
      <dc:date>2022-12-12T16:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: p90 in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-percentile-90-of-the-response-time-in-Splunk/m-p/623843#M107319</link>
      <description>&lt;P&gt;Assuming the response times are stored in a field called 'response_time' that you could calculate that statistic using the &lt;FONT face="courier new,courier"&gt;p90&lt;/FONT&gt; function in the &lt;FONT face="courier new,courier"&gt;stats&lt;/FONT&gt; command.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;... | stats p90(response_time) as p90_response_time&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 14:53:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-percentile-90-of-the-response-time-in-Splunk/m-p/623843#M107319</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-12-09T14:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: p90 in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-percentile-90-of-the-response-time-in-Splunk/m-p/623886#M107328</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below are the response times. As per my understanding the 90th Percentile of the Response times should be 3.10 . But if I use the command u mentioned below it is coming as 5.51. Please help me to understand the calculation that is done to find out the 90th percentile.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1.379&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.276&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.351&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.062&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.465&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.107&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.621&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.901&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.562&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;27.203&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Dec 2022 02:57:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-percentile-90-of-the-response-time-in-Splunk/m-p/623886#M107328</guid>
      <dc:creator>Subarna</dc:creator>
      <dc:date>2022-12-10T02:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: p90 in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-percentile-90-of-the-response-time-in-Splunk/m-p/623908#M107329</link>
      <description>&lt;P&gt;I don't know exactly how Splunk computes the perc90 number other than using the "Nearest Rank" algorithm, but the docs at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.2/SearchReference/Aggregatefunctions#perc.26lt.3BX.26gt.3B.28Y.29" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.2/SearchReference/Aggregatefunctions#perc.26lt.3BX.26gt.3B.28Y.29&lt;/A&gt;&amp;nbsp;call it an estimate.&amp;nbsp; You can try the &lt;FONT face="courier new,courier"&gt;exactperc90&lt;/FONT&gt; function to see if it gives a better result.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Dec 2022 19:12:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-percentile-90-of-the-response-time-in-Splunk/m-p/623908#M107329</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-12-10T19:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: p90 in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-percentile-90-of-the-response-time-in-Splunk/m-p/623938#M107332</link>
      <description>&lt;P&gt;An interesting point - as&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;points out, it uses nearest rank method for perc(), but you will note a difference if you use exacperc90(x), which will return you 27.203&lt;/P&gt;&lt;P&gt;Looking at the interpolated method on that Wikiepedia page, you can see that&lt;/P&gt;&lt;P&gt;PC: percentile specified 0.10 0.25 0.50 0.75 0.90&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;N: number of scores&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;OR: PC×(N+1) / PC×(N−1)+1&lt;/TD&gt;&lt;TD&gt;1.1/1.9&lt;/TD&gt;&lt;TD&gt;2.75/3.25&lt;/TD&gt;&lt;TD&gt;5.5/5.5&lt;/TD&gt;&lt;TD&gt;8.25/7.75&lt;/TD&gt;&lt;TD&gt;9.9/9.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;LoRank: OR truncated&lt;/TD&gt;&lt;TD&gt;1/1&lt;/TD&gt;&lt;TD&gt;2/3&lt;/TD&gt;&lt;TD&gt;5/5&lt;/TD&gt;&lt;TD&gt;8/7&lt;/TD&gt;&lt;TD&gt;9/9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;HIRank: OR rounded up&lt;/TD&gt;&lt;TD&gt;2/2&lt;/TD&gt;&lt;TD&gt;3/4&lt;/TD&gt;&lt;TD&gt;6/6&lt;/TD&gt;&lt;TD&gt;9/8&lt;/TD&gt;&lt;TD&gt;10/10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The HiRank gives you the 10/10 position for a 90th percentile, which in your example, seems rather counter-intuitive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Dec 2022 23:22:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-percentile-90-of-the-response-time-in-Splunk/m-p/623938#M107332</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2022-12-11T23:22:08Z</dc:date>
    </item>
  </channel>
</rss>

