Splunk Search

Count within count

sauravdhungel
Engager

 I have a data and created a table like this:

EligibilityCount
01-Country31

 

Now I would like to see how those country are counted to 31 . The output would be like this:

Countriescount
GERMANY4
MALAWI10
SERBIA6
SRI LANKA5
SWAZILAND1
UKRAINE5

 

Any help will be greatly appreciated. Thank you

Labels (1)

ITWhisperer
SplunkTrust
SplunkTrust

Without knowing what your data looks like, assuming you already have a field called countries in your events:

| stats count by countries
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...