-
Notifications
You must be signed in to change notification settings - Fork 649
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
New style RainerScript syntax does not work with filters regex and ereregex #2899
Comments
This issue seems abandoned 😴 |
@markkrj Thanks for this workaround, it looks better than using old style syntax. Still, disfunctional @rgerhards Sorry to bother, this is not a high priority issue. But could you please at least look and confirm that it is a bug and it's gonna be fixed someday. |
Well, actually this is not a bug. The old style property filters are different from what the script statements do. For the new style, we have |
ack, albeit it got better. But keep in mind this is open source, so you can easily help improve it. |
Since this is still open, I would also like to ask a question if someone can help me.... For example the fields name generated by mmnormalize is $url |
or ask the question on the rsyslog mailing list
David Lang
|
Expected behavior
rsyslog should be able to use
regex
andereregex
filters with new syntax.Actual behavior
rsyslogd -N 1
, if new syntax is used:If old syntax is used:
Steps to reproduce the behavior
Use message filter
regex
orereregex
with new syntax and get an error:The same new syntax with
startswith
filter works fine:Old syntax with
ereregex
filter works fine:Environment
rsyslog.conf
: https://gist.github.com/selivan/9892cd2bcb8ea2edc7ab3d601e2d39d8test.conf
:The text was updated successfully, but these errors were encountered: