my filebeat version is 7.6.2
and I config the input.fields.log_topic ,
but when I use the same variable in output.kafka as a topic ,it doesn't work
output.kafka:
enabled: true
hosts: ["192.168.2.21:9092","192.168.2.22:9092","192.168.2.27:9092"] # kafka
topic: '%{[fields][log_topics]}'