Skip to content

Commit

Permalink
Fix for "regular expression has redundant nested repeat operator" in …
Browse files Browse the repository at this point in the history
…MySQL slowlog module.

Fix for issue #17086.

The grok pattern used in the MySQL slowlog ingest pipeline uses EXPLAIN pattern with a superfluous * wildcard.

This makes Elasticsearch log a warning seemingly every time the pipeline is used.
  • Loading branch information
whataboutpereira authored Mar 20, 2020
1 parent 30a5687 commit d4aef7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filebeat/module/mysql/slowlog/ingest/pipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"pattern_definitions" : {
"GREEDYMULTILINE": "(.|\n)*",
"METRICSPACE": "([ #\n]*)",
"EXPLAIN": "(# explain:.*\n|#\\s*\n)*"
"EXPLAIN": "(# explain:.*\n|#\\s*\n)"
},
"ignore_missing": true
}
Expand Down

0 comments on commit d4aef7c

Please sign in to comment.