Skip to content

syslog_parser macOS missing <PRI> ticket notes #47765

@iblancasa

Description

@iblancasa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageNew item requiring triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions