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

enabled: true
hosts: ["","",""] # 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.