|
6 | 6 | /////////////////////////////////////////// |
7 | 7 | START - GENERATED VARIABLES, DO NOT EDIT! |
8 | 8 | /////////////////////////////////////////// |
9 | | -:version: v12.0.6 |
10 | | -:release_date: 2025-07-29 |
11 | | -:changelog_url: https://github.com/logstash-plugins/logstash-output-elasticsearch/blob/v12.0.6/CHANGELOG.md |
| 9 | +:version: v12.0.7 |
| 10 | +:release_date: 2025-09-23 |
| 11 | +:changelog_url: https://github.com/logstash-plugins/logstash-output-elasticsearch/blob/v12.0.7/CHANGELOG.md |
12 | 12 | :include_path: ../include |
13 | 13 | /////////////////////////////////////////// |
14 | 14 | END - GENERATED VARIABLES, DO NOT EDIT! |
@@ -304,12 +304,17 @@ single request. |
304 | 304 | ==== DNS Caching |
305 | 305 |
|
306 | 306 | This plugin uses the JVM to lookup DNS entries and is subject to the value of |
307 | | -https://docs.oracle.com/javase/7/docs/technotes/guides/net/properties.html[networkaddress.cache.ttl], |
308 | | -a global setting for the JVM. |
| 307 | +https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/net/doc-files/net-properties.html#address-cache-heading[Address Cache settings] |
| 308 | +such as `networkaddress.cache.ttl` and `networkaddress.cache.negative.ttl`, global settings for the JVM. |
309 | 309 |
|
310 | 310 | As an example, to set your DNS TTL to 1 second you would set |
311 | 311 | the `LS_JAVA_OPTS` environment variable to `-Dnetworkaddress.cache.ttl=1`. |
312 | 312 |
|
| 313 | +The default value for `networkaddress.cache.ttl` depends on the JVM implementation, |
| 314 | +which is 30 seconds for the JDK bundled with Logstash. |
| 315 | +The `networkaddress.cache.negative.ttl` setting, that controls how long Java caches |
| 316 | +the result of failed DNS lookups, defaults to 10 seconds. |
| 317 | + |
313 | 318 | Keep in mind that a connection with keepalive enabled will |
314 | 319 | not reevaluate its DNS value while the keepalive is in effect. |
315 | 320 |
|
|
0 commit comments