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
When you write a rule you could not mix named and unnamed parameters. That would be clear if the error message would indicate that mixing named and unnamed should not be done.
The mixed setup does not work and gives the error,
set_fields(key_value(to_string($message.message)), prefix: "auditd_" );
while naming the parameters work without any problems
set_fields(fields: key_value(to_string($message.message)), prefix: "auditd_" );
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Problem description
When you write a rule you could not mix named and unnamed parameters. That would be clear if the error message would indicate that mixing named and unnamed should not be done.
The mixed setup does not work and gives the error,
set_fields(key_value(to_string($message.message)), prefix: "auditd_" );
while naming the parameters work without any problems
set_fields(fields: key_value(to_string($message.message)), prefix: "auditd_" );
Steps to reproduce the problem
set_fields(key_value(to_string($message.message)), prefix: "auditd_" );
Environment
The text was updated successfully, but these errors were encountered: