REST request Activity log

The REST API Activity log provides a high-level overview of how IBM® Integration Bus interacts with REST APIs by using the RESTRequest and RESTAsyncRequest nodes.

Activity Log content

When a RESTRequest or RESTAsyncRequest node issues a request to a REST API, information is written to the activity log for successful and failed processing.

The activity log messages for the REST request nodes contain the following information:
  • Operation name.
  • HTTP method.
  • URL used.
  • HTTP status code of the response.
  • Size of the request headers and body.
  • Size of the response headers and body.
  • Total time for the request.

    You can use the activity log to determine how much time is being spent outside of the REST request node when a request is issued to a remote REST API. The time written in the activity log includes only the time spent calling the operating system's send and receive system calls, and the time spent waiting for the remote REST API to process and respond to the request. The time written excludes the time spent elsewhere in the REST request node, such as time spent parsing or serializing message tree data. If this time is unexpectedly high, it indicates a performance problem with the network or the remote REST API rather than the REST request node. The time can be compared with the information available through message flow statistics to determine if a performance problem is occurring inside or outside of the REST request node.

Activity Log entries written by the RESTRequest and RESTAsyncRequest nodes are visible in the Activity Log Viewer in the web user interface. They are also available when a configurable service of type ActivityLog is used to write your Activity logs to a file system.