- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2015 07:36 AM
Is there any log of the interactions that come through the REST API? I ran a few calls through it, and checked the transaction logs, and didn't see anything. Has anyone come up with a solution to monitor what's being done through the REST interface?
Solved! Go to Solution.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2015 05:27 PM
I found the logs for REST here after creating/enabling the glide.rest.debug property (Fuji):
System Logs > Node Log File Browser
Setting the timespan for the query correctly (and narrowly around the expected time), should see something like this:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2015 02:39 AM
When the glide.rest.debug system property is set to true, it logs all REST processing, including processing durations, headers, and the request body. Prolonged use of this property can affect performance, so it is best to use it while debugging REST processing, and then set the property back to false.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2015 10:28 AM
What log is used? Script? Transaction? The wiki does not say.
I've been trying to log REST operations and have set glide.rest.debug to true (as true/false) and "true" (as string), but am not seeing any logging.
This is on Fuji patch 2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2015 01:18 PM
Hi Paul,
glide.rest.debug does facilitate the logging of REST API
The logging is sent to System Logs
Viewing System Logs - ServiceNow Wiki
..
..
3.5 System Logs
System logs display warnings and errors within ServiceNow processes and records, and non-critical events such as memory usage on the ServiceNow server machine. This list view displays the log entries for the current day only. To view other log files, use the log file browser.
Incidentally Chris Martin if you are using
http://wiki.servicenow.com/index.php?title=Import_Set_API#gsc.tab=0
then any inserts you make into the the import set table will be visible on the instance for 7 days by default.
Best Regards
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2015 06:23 AM
We were more interested in knowing exactly what records were being queried, by which users, through the REST API. We are instead going to be implementing the High Security plugin, so that they can only query what we allow.