Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How to sort by field?

$
0
0
I am trying to get the highest used process percentage by user, however, I am unable to sort by the field I want to. index=os sourcetype=top host=hostname | chart sum(pctCPU) as CPU_USAGE by USER,COMMAND | sort sum(pctCPU) desc | head 5 This produces a table but I'd like the chart to only show the top 5 users and the commands they are running sorted by their CPU_USAGE

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>