Splunk Search

group fields

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

Path Finder

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

There are examples of almost exactly what you want.

0 Karma