<?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 How to calculate perc95 Response Time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-perc95-Response-Time/m-p/324010#M96707</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;WHAT I NEED&lt;/STRONG&gt; : Formula to calculate perc95 of responseTime&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;WHAT I HAVE&lt;/STRONG&gt;:&lt;BR /&gt;
I have a summary index which gives the below results,&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/208669-summary-index-response.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;To calculate the &lt;STRONG&gt;Average Response Time&lt;/STRONG&gt;, I use the below formula,&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/208670-average-response-time-formula.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;The Splunk query is:&lt;BR /&gt;
index=prod-pottery-store sourcetype=app:Potter:Performance login_type=* | eval responseTime_per_event=No_of_Events*responseTime | stats sum(responseTime_per_event) as "Total_Response_Time",sum(No_of_Events) as "Total_Events"| eval Average_Duration=Total_Response_Time/Total_Events&lt;/P&gt;

&lt;P&gt;What formula should I use to calculate perc95 responseTime?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Deepak.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 15:00:49 GMT</pubDate>
    <dc:creator>deepak02</dc:creator>
    <dc:date>2020-09-29T15:00:49Z</dc:date>
    <item>
      <title>How to calculate perc95 Response Time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-perc95-Response-Time/m-p/324010#M96707</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;WHAT I NEED&lt;/STRONG&gt; : Formula to calculate perc95 of responseTime&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;WHAT I HAVE&lt;/STRONG&gt;:&lt;BR /&gt;
I have a summary index which gives the below results,&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/208669-summary-index-response.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;To calculate the &lt;STRONG&gt;Average Response Time&lt;/STRONG&gt;, I use the below formula,&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/208670-average-response-time-formula.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;The Splunk query is:&lt;BR /&gt;
index=prod-pottery-store sourcetype=app:Potter:Performance login_type=* | eval responseTime_per_event=No_of_Events*responseTime | stats sum(responseTime_per_event) as "Total_Response_Time",sum(No_of_Events) as "Total_Events"| eval Average_Duration=Total_Response_Time/Total_Events&lt;/P&gt;

&lt;P&gt;What formula should I use to calculate perc95 responseTime?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Deepak.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:00:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-perc95-Response-Time/m-p/324010#M96707</guid>
      <dc:creator>deepak02</dc:creator>
      <dc:date>2020-09-29T15:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate perc95 Response Time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-perc95-Response-Time/m-p/324011#M96708</link>
      <description>&lt;P&gt;try &lt;/P&gt;

&lt;P&gt;your search | stats list(value) avg(value) median(value) perc95(value) &lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 17:10:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-perc95-Response-Time/m-p/324011#M96708</guid>
      <dc:creator>sbbadri</dc:creator>
      <dc:date>2017-07-24T17:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate perc95 Response Time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-perc95-Response-Time/m-p/324012#M96709</link>
      <description>&lt;P&gt;Thankyou &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/55793"&gt;@sbbadri&lt;/a&gt;, this is a special case. I do not think mean(), perc95() will give us the answer.&lt;/P&gt;

&lt;P&gt;For each responseTime, there are many No_of_Events (e.g.: 10 events for responseTime = 5, 8 events for responseTime=10). &lt;/P&gt;

&lt;P&gt;The average responseTime is [(10 * 5) + (10*8)] / (10+8) = 7.2&lt;BR /&gt;
mean(responseTime) is 7.5&lt;/P&gt;

&lt;P&gt;How do I calculate perc95(responseTime) ?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:00:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-perc95-Response-Time/m-p/324012#M96709</guid>
      <dc:creator>deepak02</dc:creator>
      <dc:date>2020-09-29T15:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate perc95 Response Time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-perc95-Response-Time/m-p/324013#M96710</link>
      <description>&lt;P&gt;use the perc() function &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.1/SearchReference/Aggregatefunctions#percentile_.3CX.3E.28Y.29"&gt;documented here&lt;/A&gt; as demonstrated in sbbadri's response.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 18:30:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-perc95-Response-Time/m-p/324013#M96710</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2017-07-24T18:30:44Z</dc:date>
    </item>
  </channel>
</rss>

