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

How to get a stats count on multiple fields in a table sorted by count?

$
0
0
Hi All, I am trying to get the count of different fields and put them in a single table with sorted count. stats count(ip) | rename count(ip) as count | append [stats count(login) | rename count(login) as count] | append [ stats count(bcookie) | rename count(bcookie) as count] I seem to be getting the following output: count 10 20 30 However, I need the output to be something like this: name count ip 10 login 20 bcookie 30 Thanks in advance. Aditya

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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