Splunk Search

How can I create a column that counts how many Field Bs there are per Field A?

christopheryu
Communicator

Have this:

search... | stats values(interfaces) AS Interfaces by circuit

alt text

Thank you in advance!

Tags (2)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi christopheryu,
di you tryed

your_search 
| stats dc(interfaces) AS count values(interfaces) AS Interfaces by circuit

Bye.
Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi christopheryu,
di you tryed

your_search 
| stats dc(interfaces) AS count values(interfaces) AS Interfaces by circuit

Bye.
Giuseppe

christopheryu
Communicator

Thank you!

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...