Contact Free trial Login

List Log Messages with the CloudHub API

logo cloud active logo hybrid disabled logo server disabled logo rtf disabled

This document deals with calling the CloudHub API. For instructions on how to perform these same tasks more easily via the Runtime Manager UI, see CloudHub and its child pages.

Use the GET operation on /applications/{application}/logs resource to list all log messages. This call returns a maximum of 10,000 lines of log data for each invocation. However, using repeated calls with contiguous time windows as search criteria, the entire log may be downloaded.

The following query parameters are supported:

Name Default Description



The number of rows to return.



The row to start listing log messages at.


The start date to search for log messages. In ISO-8601 format.


The end date to search for log messages. In ISO-8601 format.


The text that messages must match.


The log level priority to return - DEBUG, INFO, WARN, ERROR, SYSTEM, CONSOLE.


The worker to return logs for, starting from 0.

Example Request:


Example Response:

200 OK
Content-Type: application/json
Server: Apache-Coyote/1.1
Date: Sun, 18 Jan 2015 00:12:55 GMT

  "data": [
      "message": "Deploying application to 1 workers.",
      "priority": "SYSTEM",
      "sequenceNumber": 1343797858127,
      "timestamp": 1344872571834
  "total": 528

Check out the API Portal of the CloudHub API to see an interactive reference of all the supported resources, methods, required properties and expected responses.

In the API Portal, search among other Mule APIs for the CloudHub API and enter its latest version.

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.