Log
This message aggregates the data structures related to the log service.
Entry
The log entry contains the message and metadata of a log.
| Field | Type | Default | Unit | 
|---|---|---|---|
| boot_uuid | string | - | - | 
| UUID of the boot during which the log was written. | |||
| cursor | - | - | |
| Cursor used to index log entries and to navigate through the logs. | |||
| timestamp | uint64 | - | ns | 
| The wallclock time at the point in time the entry was received by the journal, in nanoseconds since the epoch UTC. | |||
| module | - | - | |
| The module which has written the log. | |||
| level | - | - | |
| The log level of the log. | |||
| message | string | - | - | 
| The message which has been logged. | |||
Cursor
The cursor uniquely identifies a log entry in the logs.
| Field | Type | Default | Unit | 
|---|---|---|---|
| sequence_number_id | string | - | - | 
| The sequence number ID is used to reference a set of log entries generated by the same systemd-journald instance. | |||
| sequence_number | uint64 | - | - | 
| The sequence number is assigned to a log entry by the systemd-journald instance when they are written to disk. Every instance numbers their entries sequentially, starting from 1 for the first entry written after subsystem initialization. | |||
Level
The log level represents the priority of the log.
| Name | Value | Description | 
|---|---|---|
| LEVEL_UNSPECIFIED | 0 | No level is set | 
| LEVEL_ERROR | 1 | An error condition was detected Includes the systemd levels: EMERGENCY, ALERT, CRITICAL, ERROR | 
| LEVEL_WARNING | 2 | The message indicates that an error will occur if no action is taken Includes the systemd levels: NOTICE, WARNING | 
| LEVEL_INFO | 3 | Normal operational messages that require no action Includes the systemd levels: INFORMATIONAL |