Splunk Search

What is the correct syntax to get the 90 percentile for Response Time in a Splunk search?

vivekshankar82
New Member

I want to plot the 90 percentile response time in Splunk. Is the below correct?

| timechart p90(ResponseTime) 

or is the below correct

eventstats avg(ResponseTime) as ttavg | eventstats p90(ttavg) as p90avg | timechart max(p90avg)
0 Karma

chimell
Motivator

HI
try this perc90(ttavg ) instead of p90(ttavg)

eventstats avg(ResponseTime) as ttavg | eventstats perc90(ttavg) as perc90_avg | timechart max(perc90_avg)

see also these links

https://answers.splunk.com/answers/99632/what-does-perc95-and-all-those-stats-functions-perc.html
https://answers.splunk.com/answers/8690/90th-percentile-search-results.html

0 Karma

Raghav2384
Motivator

This is the right syntax

perc90()

Thanks,
Raghav

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...