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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...