Defines the schema for a Diagnostics log.
API Endpoint | https://api.bigpanda.io/resources/v2.0/troubleshooting/logs |
Supported Methods | GET |
Parameters
The Troubleshooting
object schema includes the following attributes:
Attribute | Description | Example |
---|---|---|
log_id | System-generated unique identifier for the log record. | "id": "1234a53b6789c12d3efg45h" |
log_type | Type of logged event. | "log_type": "invalid_payload" |
message | Brief message describing the event. | "message": "‘timestamp’ must be a time in Unix format (UTC timezone)" |
level | Level of logged event. One of: error, warning, or info. | "level": "error" |
timestamp | Unix epoch time when the event occurred (in seconds). | "timestamp": 1594283448518 |
component_name | Name of the component reporting the event. In the current state, "inbound" value is the only component that is supported. | "component_name": "Inbound" |
resource_id | System-generated unique identifier for the resource. | "resource_id": "nagios.production" |
payload | The received event object. | When "component_name" = "Inbound", payload_raw is the received message from source system. |