logstash-plugins / logstash-filter-kv

Apache License 2.0
17 stars 42 forks source link

Add a Timeout Enforcer #79

Closed yaauie closed 5 years ago

yaauie commented 5 years ago

Adds support for timeout_millis and tag_on_timeout, which allows us to prevent pathological inputs from blocking the pipeline indefinitely. The timeout-enforcer is borrowed heavily from the one included with the grok filter.

By default, this enables the timeout enforcer with a 30-second timeout that is more than generous enough to handle even mildly-pathological pattern matches.

yaauie commented 5 years ago

This feature was included in the 4.3.0 release of this plugin.