Graylog2/graylog-plugin-pipeline-processor

Can't pass named optional parameter to function

hc4 opened this issue · 1 comments

hc4 commented

Problem description

image

Environment

  • Graylog Version: 2.3.0
  • Pipeline Processor plugin version: 2.3.0
  • Elasticsearch Version: 5.5.1

@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");