Graylog2 / graylog-plugin-pipeline-processor

[DEPRECATED] Graylog Pipeline Message Processor Plugins
https://www.graylog.org/
GNU General Public License v3.0
21 stars 14 forks source link

error messages on named parameters and unnamed parameters #235

Open jalogisch opened 6 years ago

jalogisch commented 6 years ago

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.

screenshot 2018-01-04 13 34 44

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

  1. Create a Pipeline rule with mixed named and unnamed parameters set_fields(key_value(to_string($message.message)), prefix: "auditd_" );

Environment