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!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...