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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...