How to config (disable) the JVM DNS caching in logstash

Hello everyone!
As title, how to config the JVM DNS caching in logstash?
I have already tried to config it from the environment variable LS_JAVA_OPTS, and set the value to -Dnetworkaddress.cache.ttl=N, but there is no effect.

And I found the document of elasticsearch
but no document about logstash.

My goal is to disable the JVM DNS caching in logstash, please help me!
Thank you!

Welcome to the community!

Which version LS do you have? It seems LS do not use JAVA DNS caching. Check here.

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