You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add success cache minimum TTL for DNS responses (#18986)
An enhancement to add a minimum alternative cache TTL to the libbeat dns processor for successful DNS responses. This ensures that TTL=0 successful reverse DNS responses can be cached to avoid sending the same reverse DNS request again within a short period of time.
The libbeat dns processor is used as a reverse DNS annotator for auditbeat events. Some of these IP addresses respond to reverse DNS requests with TTL=0 in the responses. These were causing load issues for my systems when I had the reverse DNS processor enabled for auditbeat.
The new settings is `success_cache.min_ttl`.
Closes#18709
Signed-off-by: Peter Ansell <p_ansell@yahoo.com>
Co-authored-by: Marc Guasch <marc.guasch@elastic.co>
Copy file name to clipboardExpand all lines: CHANGELOG.next.asciidoc
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -372,10 +372,12 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
372
372
- Add support to trim captured values in the dissect processor. {pull}19464[19464]
373
373
- Added the `max_cached_sessions` option to the script processor. {pull}19562[19562]
374
374
- Add support for DNS over TLS for the dns_processor. {pull}19321[19321]
375
+
- Add minimum cache TTL for successful DNS responses. {pull}18986[18986]
375
376
- Set index.max_docvalue_fields_search in index template to increase value to 200 fields. {issue}20215[20215]
376
377
- Add leader election for Kubernetes autodiscover. {pull}20281[20281]
377
378
- Add capability of enriching process metadata with contianer id also for non-privileged containers in `add_process_metadata` processor. {pull}19767[19767]
378
379
380
+
379
381
*Auditbeat*
380
382
381
383
- Reference kubernetes manifests include configuration for auditd and enrichment with kubernetes metadata. {pull}17431[17431]
Copy file name to clipboardExpand all lines: libbeat/processors/dns/docs/dns.asciidoc
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,7 @@ processors:
52
52
success_cache:
53
53
capacity.initial: 1000
54
54
capacity.max: 10000
55
+
min_ttl: 1m
55
56
failure_cache:
56
57
capacity.initial: 1000
57
58
capacity.max: 10000
@@ -81,6 +82,9 @@ the memory for this number of items. Default value is `1000`.
81
82
cache can hold. When the maximum capacity is reached a random item is evicted.
82
83
Default value is `10000`.
83
84
85
+
`success_cache.min_ttl`:: The duration of the minimum alternative cache TTL for successful DNS responses. Ensures that `TTL=0` successful reverse DNS responses can be cached.
86
+
Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". Default value is `1m`.
87
+
84
88
`failure_cache.capacity.initial`:: The initial number of items that the failure
85
89
cache will be allocated to hold. When initialized the processor will allocate
86
90
the memory for this number of items. Default value is `1000`.
0 commit comments