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
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...