Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add 'optional' option for literals and whitespace #339

Open
davidelang opened this issue May 4, 2020 · 0 comments
Open

add 'optional' option for literals and whitespace #339

davidelang opened this issue May 4, 2020 · 0 comments

Comments

@davidelang
Copy link
Contributor

it's unfortunately common to have logs that differ only in having whitespace or having a literal.

even rsyslog has problems with this, if you generate a traditional formatted message, the syslogtag will have a : on it if the inbound log was an old-style message, but not if the inbound log was a rfc5424 message.

I have many logs that I receive that sometimes have a space at the beginning of the message and sometimes don't

if there is a varying amount of whitespace, that is easy to deal with, but there's no option to say '0 or more whitespace characters'

I've tried doing custom types with alternates to allow ': ' or ' ' to deal with the : there or not, and it hasn't worked well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant