Knowledge Management

Portion of customers meeting threshold

fikristar
Explorer

Hi Splunk Experts,

I am very new to Splunk and need some help to resolve my problem.

I have a dataset that comprises many fields with key fields are timestamp, user, region, location, delay.
I need to divide delay into two bands; one band is for users meeting <500 ms threshold and and another band for those above 500 ms.
I would like to create two outputs: a table and a bar chart that shows me:

  1. Number of users (from total population) that meets 500 ms threshold by region and location
  2. Percentage of users (from total population) that meets 500 ms threshold by region and location
  3. What delay is met for each region and location for 90 % of users (90 percentile)?

Many thanks for help..

Tags (1)
0 Karma

DMohn
Motivator

This should give you the desired results:

<your_base_search> | stats count(eval(delay<500)) as users_below_500, count(*) as total_users, perc90(delay) as 90percentile by region, location | eval users_below_500_percentage=round(users_below_500/total*100,2) | table region location users_below_500 users_below_500_percentage 90percentile
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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