5.5.24 EventLog

An EventLog message carries the up to 24 most recent events that occurred in one of the M&C systems managed by the backend. The backend collects the events from the M&C systems and combines them to this list. The backend updates this message whenever a new message is added to the log, but at a maximum rate of one message per second.

To subscribe for the EventLog message, a /api/v1/subscribe API call must be made for the message ID {Primary-M&C-Name}.SYSTEM.eventLog where {Primary-M&C-Name} is the name / ID of the M&C reported with the /api/v1/mnclist API call with the "primary" key set true.

Data Model (extends Message)

Key Type Value
id String The message ID. This is always the message ID described above. (see Message)
type String The message type (always EVENTLOG, see Message).
time String Timestamp in format 'YYYY-MM-DDTHH:MM.SSZ', see Message).
events Array An array of EventInfo objects representing the recent events which occurred. This array has not more than 24 elements, directly after system start the array may be shorter or even empty if no events have been collected yet.