Splunk Search

group fields

visa87
Explorer

I have extracted a numeric field and I want to count the fields by grouping them based on the range .
For eg:

Field A
1
4
6
10
15
26
29....

Result should look like something below :
Field A - Range Count
1-10 4
11-20 1
21-30 2

Can this be achieved ?

Tags (1)
0 Karma

mmccul
SplunkTrust
SplunkTrust

Look at http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Bucket

There are examples of almost exactly what you want.

0 Karma
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...