How to generate a report for users who logged in ServiceNow Backend ?

Balakrishna_ABK
Tera Guru

I can see ServiceNow User Experience Analytics shows data, but it is not useful as it showing Hash user id instead of actual ServiceNow user id 

Balakrishna_ABK_1-1769699464767.png

 

We need a report for list of users who logged in ServiceNow Backend for last 2 months

 

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@Balakrishna_ABK 

check this

Finding the users logged in to the instance 

this table holds history "sys_user_login_history"

AnkurBawiskar_0-1769700504196.png

 

💡 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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

11 REPLIES 11

Hi Ankur,

I am getting required info from sys_user_login_history table 

I have added itil condition for roles to segregate users.

Balakrishna_ABK_1-1770014898135.png

 

The only thing is I am unable to create report on this table as following acl is blocking which is Readonly 

Balakrishna_ABK_2-1770015189833.png

 

@Balakrishna_ABK 

thanks for confirming the table I shared helped you.

in that report_view ACL add role itil if you want

but this is a sensitive system table, why your agents want to see that?

I won't recommended that.

that table should be only for admin role

💡 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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar ,

It is ready only so I have created new acl and added ITIL role , even it is not working for admin

@Balakrishna_ABK 

you are not able to select that table during report creation?

that's your issue?

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

yes

Balakrishna_ABK_0-1770018745598.png