Skip to content

in_syslog cannot handle custom-formatted syslogs that do not start with <pri> #363

Description

@kiyoto

in_syslog has two parsing logics:

  1. If a format parameter is provided, then it parses the leading and uses the provided format for the rest of the message.
  2. If no format parameter is provided, it uses the default syslog message format, which also starts with <pri>.

This means that in_syslog barfs if the incoming message does not start with <pri>. This may happen if the user has custom syslog format that does not start with <pri>.

Should in_syslog support this? Or should it be in_forward?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions