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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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