Date filter should report probably-bad configurations to the user

Description

In LOGSTASH-774, a user used 'mm' accidentally for both month and minute.

We should detect these situations and report them to the user as bad configuration.

Error if:

  • the same kind of time unit is used twice

  • if a time unit is missing (we have 'year' and 'day' but not 'month)

Assignee

Philippe Weber

Reporter

Jordan Sissel
Configure