When use variables in output.kakfa ,it doesn't work

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]}'

Could you please share the entire config and use the "code" tags?

I solve the problem as https://github.com/elastic/beats/issues/11988

1 Like

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