Splunk Search

How to generate a search to show the top 10 values for each priority?

kiran331
Builder

How to show the top 10 values for each column? I have a field port and its priority, I have to show top 10 values for each priority. Any suggestions?

example:

port   priority
1        low
2         low
3         ...
... 10
11  - medium
12  - medium
...100 - high

I need to show

LOW  Medium   High
1          11             100
2          12              110
3            .                .
.             .
.
.10         50
Tags (4)
0 Karma

andrey2007
Contributor

search | top port by priority | chart values(port ) over port by priority

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 ...