说明kafka的topic: '%{[fields.log_topic]}'取不到变量值,增加fields_under_root: true即可

 

fields_under_root: true

fields:

  log_topic: test1