Hashes with more than one pair throwing an exception in grep filter module

Description

The following grep filter throws a "can't convert array to string" exception.

grep {match => ["@fields.level", "error", "@fields.level, "worse error"] add_tag => ["tag"]}

While this may not be a bug, documentation explains that it should work this way and does not.

Environment

None

Status

Assignee

Philippe Weber

Reporter

Evan Ravenelle

Labels

Fix versions

Affects versions

Priority

Configure