Monitor 10.11 | pub.monitor.service Folder | pub.monitor.service:getErrors
 
pub.monitor.service:getErrors
Retrieves all errors that were logged for a specified service.
Input Parameters
The following table lists the input parameters.
contextID
String Context ID for the service whose errors you want to retrieve. Specify the complete, exact ID.
Note:
Whether Monitor treats contextID as case-sensitive depends on how the underlying database (for example, Oracle, DB2, or SQL server) handles the queries that Monitor issues to obtain data.
Output Parameters
The following table lists the output parameters.
errors
Document List The retrieved errors for the specified service. For each error, the following fields are returned:
*ROOTCONTEXTID String Context ID for the root service of the service that logged the error message. If the service that logged the error message is a top-level service, the root context ID is the same as the context ID.
*PARENTCONTEXTID String If the service was nested or resubmitted, context ID for the parent service of the service that logged the error message.
*CONTEXTID String Context ID for the service that logged the error message.
*ERRORMSG String The text of the error message.
*ERRSTACKTRACE String Stack trace data associated with the error.
*SERVICENAME String Name of the service that logged the error message.
*SERVERID String DNS name and port of the Integration Server that ran the service (for example, titan.east.webmethod.com:5555).
*AUDITTIMESTAMP Number Time the error was logged, in epoch time; that is, the number of seconds since January 1, 1970.
*AUDITTIMESTRING String Time the error was logged in string format, YYYY-MM-DDhh:mm:ss.SSS zzz, where:
*YYYY-MM-DD is the date
*hh:mm:ss:SSS is the time, including milliseconds
*zzz is the time zone