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!

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

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...