You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Develop a Journald Reader for Logcollector that behaves similarly to the journalctl command. The Reader will filter and forward logs based on configurable parameters, ensuring robust integration with the Journald API.
Requirements
Configuration Options
The Journald Reader will support the following configuration:
journald: Defines a Journald reader with the following options:
field: Selects a field from Journald entries.
regex: Regular expression the selected field must match for the log to be transmitted.
ignore_if_missing: Boolean; defines whether to ignore the log if the specified field does not exist.
file_wait: Defines the log polling interval (e.g., 500ms).
reload_interval: Interval for detecting log rotation (e.g., 1m).
Description
Develop a Journald Reader for Logcollector that behaves similarly to the
journalctl
command. The Reader will filter and forward logs based on configurable parameters, ensuring robust integration with the Journald API.Requirements
Configuration Options
The Journald Reader will support the following configuration:
journald
: Defines a Journald reader with the following options:field
: Selects a field from Journald entries.regex
: Regular expression the selected field must match for the log to be transmitted.ignore_if_missing
: Boolean; defines whether to ignore the log if the specified field does not exist.file_wait
: Defines the log polling interval (e.g., 500ms).reload_interval
: Interval for detecting log rotation (e.g., 1m).Example Configuration:
Tasks
Spike
Development
Setup
FunctionDeliverables
The text was updated successfully, but these errors were encountered: