Splunk Search

Using "bucket" command, how to add the last bucket that counts all remaining values?

andrewpagans
Path Finder

I am creating a chart using bucket command ( span 4 )
How can I add the last bucket that count all remaining values >16?

Thanks for support

alt text

Tags (4)
0 Karma
1 Solution

somesoni2
Revered Legend

Try like this (adding the eval before your bucket command)

your base search | eval someHourField=if(someHourField >=16,">16",someHourField ) | bucket span=4 someHourField | ..rest of the search...

View solution in original post

0 Karma

somesoni2
Revered Legend

Try like this (adding the eval before your bucket command)

your base search | eval someHourField=if(someHourField >=16,">16",someHourField ) | bucket span=4 someHourField | ..rest of the search...
0 Karma
Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...