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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...