I have following event in Logstash:
"message": "[The variable 'number' was not bound while trying to expand attribute 'text' with value '$(value)'.]\n2016-01-12 08:30:09,983 [exec][TestCase] <Create a Product and open richtext editor [Error] [Warnings: 10] [Errors: 0] [Exceptions: 1]"
Now i want to filter this message with:
match => { "message[0]" => "(\[%{GREEDYDATA:ErrorMessage}\]\n+)?%{TIMESTAMP_ISO8601:incidentTime:date}\s+\[exec\]\[%{WORD:TestNode}\]\s*\<%{GREEDYDATA:test}\s*\[%{WORD:result}\]\s*\[Warnings: %{WORD:WarningCount}\](\s*\[Errors: %{WORD:ErrorCount}\]\s*\[Exceptions: %{WORD:ExceptionCount}\])?" }
And now i get a grokeparsefailure_ and i don´t understand why? Without the error Message everything works fine.