Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Get User Login count based on last 30 days

josephtucker
Giga Contributor

Is there a way to get how many times users have logged into the system within the last 30 days?

I've looked at "last_login_time" as well as utilizing "sys_history_line" to determine a "count" of sorts, but it doesn't seem to accurately hold the data (I.e. shows I haven't logged into the system in the last 30 days when I login daily).

2 REPLIES 2

Arnoud Kooi
ServiceNow Employee
ServiceNow Employee

Did you look at the Event [sysevent] table? Filter on Name = login


Diksha01110
Tera Contributor

Hi ,

 

I know I m too late for reply, but still if anyone can tell me is there any solution for this query has been identified?