Graylog2 / graylog-plugin-pipeline-processor

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

Can't pass named optional parameter to function #206

Open hc4 opened 6 years ago

hc4 commented 6 years ago

Problem description

image

Environment

joschi commented 6 years ago

@hc4 Thanks for reporting this!

For now, you can either use named parameters or unnamed parameters for all arguments of a function.

Example:

parse_date(str, "yyyy-MM-dd HH:mm:ss", "en", "UTC");
parse_date(value: str, pattern: "yyyy-MM-dd HH:mm:ss", locale: "en", timezone: "UTC");