Hi.
Trying Packetbeat 7.x branch with enabled DNS processor and default config fails with
fail to unpack the dns configuration: requires duration < 1 accessing 'processors.0.dns.min_ttl'
Steps to reproduce:
- Config file:
processors:
- dns: ~
- Run config test:
./packetbeat test config --strict.perms=false -c packetbeat.yml
Dirty workaround is to remove "validate: min=1" from https://github.com/elastic/beats/blob/de26878df4a41bca46a10aa061fa2e8065f75abb/libbeat/processors/dns/config.go#L92.
It seems like some problem when parsing yaml into nested structures, see https://github.com/elastic/beats/blob/de26878df4a41bca46a10aa061fa2e8065f75abb/libbeat/processors/dns/config.go#L32