We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using Ossec 3.3.0. I defined a decoder:
<decoder name="newdecoder"> <prematch>{"reqId":"</prematch> <regex>"level":(\d+),"time":"\S+","remoteAddr":"(\S*)","user":"\.+","app":"(\S+)","method":"\S*","url":"\S+","message":"(\.+)"</regex> <order>status, srcip, action, extra_data</order> </decoder>
Matching a string with an empty srcip, e.g.
{"reqId":"whatever","level":2,"time":"2019-05-07T12:00:00+02:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"error message","userAgent":"--","version":"15.0.7.0"}
results in news being identified as 'srcip'.
news
The text was updated successfully, but these errors were encountered:
Hello, I found the problem and made a PR
Sorry, something went wrong.
OK, fixed in #1710. I will close this issue after the PR is merged.
No branches or pull requests
Using Ossec 3.3.0.
I defined a decoder:
Matching a string with an empty srcip, e.g.
results in
news
being identified as 'srcip'.The text was updated successfully, but these errors were encountered: