KV Filter registered without jruby interruptible regular expressions enabled

When logstash starts it logs this for each KV I have configured this logs:

Jun 15 01:49:10 hostname logstash[3879863]: [2021-06-15T01:49:10,651][WARN ][logstash.filters.kv ] KV Filter registered without jruby interruptible regular expressions enabled (`-Djruby.regexp.interruptible=true`); timeouts may not be respected.

In the KV's I have configured I have not set a timeout, so I believe they should timeout after 30 seconds. In my pipelines I also have written quite a bit of custom ruby.

Is there any downside to setting this value? (why isn't this the default value?)

I do not think so. The default value for the timeout option is 30 seconds, but the code is telling you that timeouts will not happen.

This issue has lots of discussion from folks who have forgotten more about logstash than I will ever know. If you only have the time to follow one link from that I would choose 10978. (But you should follow more!)

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.