Skip to content

cef parser doesn't handle backslash escaped pipes #338

@davidelang

Description

@davidelang

I've got a device (aruba) that sends messages that contain | characters in a message field. It escapes them with a backslash (i.e. '|text|'), the cef parser doesn't handle this.

working on the command line (echoing 'rawmsg text'), if I change them from | to \| the parser works, but the resulting field has | in it.

but trying to parse the message in rsyslog is not working as a result

@marnao you have done some work on this parser in the past.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions