Component(s)
No response
What happened?
Description
The issue is that macOS system.log lines can be emitted without a leading <PRI> value, for example:
Apr 20 13:14:15 MacBook-Pro syslogd[123]: Configuration Notice
The current syslog_parser RFC3164 path sends the line to go-syslog, which expects the message to start with a priority value in angle brackets. Because of that, these records fail with:
expecting a priority value within angle brackets
Collector version
main
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
Log output
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Component(s)
No response
What happened?
Description
The issue is that macOS
system.loglines can be emitted without a leading<PRI>value, for example:The current
syslog_parserRFC3164 path sends the line togo-syslog, which expects the message to start with a priority value in angle brackets. Because of that, these records fail with:Collector version
main
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
Log output
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it. Learn more here.