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

Count items satisfying a condition

$
0
0
I have a event created each time a user does an action in my system (e.g. login, open_page, close_page). I need to do statistics based on the user regularity: a regular user logins more than 5 times or more over a period, the others are occasional. I use the query: ... event=login| stats count by user which returns the following : User A: 10 User B: 7 User C: 3 User D: 5 I am trying to obtain the following: 1. Number of regular users (login >=5 times) 2. Number of open_page events done by regular users 3. Proportion of close_page per user type (regular vs occasional) Thanks for the help!!

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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