Dashboards & Visualizations

Stats Search help

WanLohnston
Explorer

Hi Everyone

I was wondering how I would go about a stats count for 2 fields where 1 field depends on the other. 

So for example we have a field called service version and another called service operation. Operations aren't necessarily exclusive to a version but I was wondering if it was possible to do a stats count where it would display something like:

Service 1 - Operation 1: *how many* - Operation 2: *How many* and so on.

Is something like this possible? 

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Do you mean something like this?

| stats count by Service, Operation

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

The stats command can group results by multiple fields.  Try

| stats count by Service,Operation
---
If this reply helps you, Karma would be appreciated.

ITWhisperer
SplunkTrust
SplunkTrust

Do you mean something like this?

| stats count by Service, Operation
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...