- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi, I'd like to know how to count times of runtime access among application scopes like below examples.
- "Execute API " Operation on Source Scope = [x_snc_acme_app01] to Target Scope [Employee Center] -> 100 times
- "Read" Operation on Source Scope = [x_snc_acme_app01] to Target Scope [Global] (sys_attachment) -> 200 times
In my understanding I cannot see the times of runtime access among application scopes by just checking records with "status = Allowed" in [sys_scope_privilege] .
Which log tables and/or files realize this requirement? I believe there are log tables and or node log files because instance has a capability to track runtime access in background.
Any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
you need to look on the message field and possibly do some string manipulation and grab the content and then increment the counter each time
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
you need to check system logs for this and no direct way to handle this.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Thank you for your quick response!
I'd like to know which field I should see to know "Target scope". As far as I see a list of System log, "App Scope" filed seems "Source scope" with , but I was not sure which field includes "Target scope". Should I need to analyze "Context map" field or something? If possible please tell me how to analyze System log for my requirement. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
you need to look on the message field and possibly do some string manipulation and grab the content and then increment the counter each time
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader