graylog-plugin-pipeline-processor icon indicating copy to clipboard operation
graylog-plugin-pipeline-processor copied to clipboard

Can't pass named optional parameter to function

Open hc4 opened this issue 7 years ago • 1 comments

Problem description

image

Environment

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

hc4 avatar Aug 04 '17 16:08 hc4

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

joschi avatar Aug 08 '17 09:08 joschi