Diagnostics Log Object

Defines the schema for a Diagnostics log.


The Troubleshooting object schema includes the following attributes:

log_idSystem-generated unique identifier for the log record.String
log_typeType of logged event.String
messageBrief message describing the event.String
levelLevel of logged event. One of: error, warning, or info.String
timestampUnix epoch time when the event occurred (in seconds).Timestamp
component_nameName of the component reporting the event.

In the current state, "inbound" value is the only component that is supported.
resource_idSystem-generated unique identifier for the resource.String
payloadThe received event object.Object

Sample Object:

			log_id: "log_idABC",
			log_type: "invalid_payload",
			level: "error",
			message: "alert 1: 'status' must exist and be one of the following: ok, critical, warning, unknown, acknowledged",
			component_name: "inbound",
			resource_id: "api.default",
			payload: {
				host: "production-database-1",
				check: "CPU overloaded",
				status: "criticald"
			timestamp: "1610622725329"
	total: 1