I want to use appenders like @icoolchn , so I test @icoolchn 's configuration, but the filebeat reports the following error(filebeat version 7.9.3):
2021-03-02T12:28:24.673Z INFO instance/beat.go:456 filebeat stopped.
2021-03-02T12:28:24.673Z ERROR instance/beat.go:951 Exiting: error in autodiscover provider settings: error setting up kubernetes autodiscover provider: unable to unpack config due to error: missing field accessing 'filebeat.autodiscover.providers.0.appenders.0.config.fields' (source:'filebeat.yml')
Exiting: error in autodiscover provider settings: error setting up kubernetes autodiscover provider: unable to unpack config due to error: missing field accessing 'filebeat.autodiscover.providers.0.appenders.0.config.fields' (source:'filebeat.yml')
Originally posted in Filebeat autodiscoverkubernetes appender error bug · Issue #9817 · elastic/beats · GitHub