Splunk Search

Bucket Listing

deusaquilus
New Member

Ok, first off this has nothing to do with the colloquial notion of a 'bucket list'.
What I'm trying to do is to run a query that makes buckets via two text fields: Job and Counter. What I need is basically something like this:

index=main | chart list(value) as values by job,counter

Only instead of a list of all the values, I want to have a list of buckets e.g. something that might look like this:

index=main | chart list(bucket bins=5 value) as values by job,counter

The reason I want to do this is because I need to index these buckets in order to have them quickly available in a reporting chart. How do I do the above operation?

0 Karma

gkanapathy
Splunk Employee
Splunk Employee
index=main | bucket bins=5 value | chart list(value) as values by job,counter
0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...