This PR adds a matchSource config option to make sure you can match only journald logs to the journald-format outputFilter. Eg:
outputFilter:
journald-format:
module: journald-format
# Run Logagent parser for the message field
parseMessageField: true
# JS regular expression to match log source name
matchSource: !!js/regexp journald
This PR adds a
matchSource
config option to make sure you can match onlyjournald
logs to the journald-format outputFilter. Eg: