Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Reporting - sys_audit table to heavy to query

AlejandroV88913
ServiceNow Employee

Hi Everyone!

 

I was wondering about the following statement:

I want a report that shows how many Users were active on specific days throughout the year.

Unable to query the 'sys_audit' table since the system goes down and transactions have to be cancelled.

I need the get the users' list per date.

Can anybody help with this?

Thanks!

4 REPLIES 4

miftikhar20
Kilo Patron

Hi @AlejandroV88913,

 

You can use User Login Histories [sys_user_login_history] or Event Log [sysevent] table to create similar report.

MIftikhar_0-1763562245838.png
MIftikhar_1-1763562266693.png


Also please check this KB article: User login-logout statistics/report for an instance - Support and Troubleshooting

If my response helped, please mark it as the accepted solution so others can benefit as well.

 

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.

Thanks, M!

Yet, the user is looking for ways to create a report with the active/inactive dates, not the logins. I believe it is the 'state' of each user to track per date and determine X date we had Y users active.

Please, can you help? Thanks

Ankur Bawiskar
Tera Patron

@AlejandroV88913 

you can check tables shared by @miftikhar20 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur, thanks a lot for getting back to me!
When I follow that @m_... link, it takes me to a user's profile but I don't get to see information... Can you help me? Thanks