Tip
|
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. |
The logs API allows you to search your logs. All resources or methods that return or accept a type (except where noted) use the application JSON type. As an example, here’s an example of what the result from a log search looks like.
{
"data":
[
{
"message": "Deploying application to 1 workers.",
"priority": "SYSTEM",
"sequenceNumber": 1343797858127,
"timestamp": 1344872571834
}
],
"total": 528
}
The following are the properties for applications.
Property | Description |
---|---|
message |
The log message. |
priority |
The priority - DEBUG, INFO, ERROR, SYSTEM, CONSOLE. |
timestamp |
The timestamp in UTC when the log message occurred. |
sequenceNumber |
A sequence number which determines the order of the log messages when they have the same timestamp. |
The following is a summary of log related operations:
Operation | Resource | Description |
---|---|---|
|
Lists log messages. |
Tip
|
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 link above, search among other Mule APIs for the "CloudHub" API and click on its latest version. |