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

Grouping by user, count by number of countries

$
0
0
Using splunk to look at some auth data, and want to get search results that show the number of countries each user has logged in from. I've gotten as far as adding the iplocation information into the search results, and even getting the reverse of what i want (number of users who have logged into each country), but when i try to do something like a "*stats count by Country*" it throws an error of: "*Error in 'stats' command: The argument 'Country' is invalid.*" Any suggestions? Here's the basics of the search so far: ... | iplocation clientLoginIp | stats count values(username) by Country | sort by count DESC What am i missing?

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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