Skip to content

Latest commit

 

History

History

journaldreceiver

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Journald Receiver

Status
Stability alpha
Supported pipeline types logs
Distributions contrib

Parses Journald events from systemd journal. Journald receiver is dependent on journalctl binary to be present and must be in the $PATH of the agent.

Configuration

Field Default Description
directory /run/log/journal or /run/journal A directory containing journal files to read entries from
files A list of journal files to read entries from
start_at end At startup, where to start reading logs from the file. Options are beginning or end
units [ssh, kubelet, docker, containerd] A list of units to read entries from
priority info Filter output by message priorities or priority ranges
storage none The ID of a storage extension to be used to store cursors. Cursors allow the receiver to pick up where it left off in the case of a collector restart. If no storage extension is used, the receiver will manage cursors in memory only.

Example Configurations

receivers:
  journald:
    directory: /run/log/journal
    units:
      - ssh
      - kubelet
      - docker
      - containerd
    priority: info