This content is associated with a legacy version of the Replicated product. For the current Replicated product docs, click here.
journald.logs
type object
Collect logs from journald
collect:
v1:
- journald.logs:
output_dir: /system/journald/cooltool-api
reverse: true
unit: cooltool-api
since: '2018-01-01'
Required Parameters
unit
- Systemd unit from which to collect logs
Optional Parameters
-
reverse
- Store logs in reverse chronological order -
since
- Since date for log collection
Outputs
logs.raw
- The raw output thejournald
logs for the unit