No output defined error in filebeat


#1

I have downloaded filebeat 5.0.0.rc and trying to configure kafka as output. Even though I have configured kafka as output but keep getting . I have tried but kee

Error Initialising publisher: No outputs are defined. Please define one under the output section.
beat.go:161: CRIT No outputs are defined. Please define one under the output section.

here is my filebeat.yml file

filebeat.prospectors:

  • input_type: log
    paths:
    • /var/log/*.log

output.kafka:
hosts: ["localhost:9092"]
max_retries: 0
topic: test
use_type: true
worker: 1
client_id: beats

I have wasted almost a day on this. Any help is highly appreciated.


#2

by some how the indent of host under output hasn't shown up.

output.kafka:
hosts: ["localhost:9092"]
max_retries: 0
topic: test
use_type: true
worker: 1
client_id: beats


#3

I am able to figure out the issue. closing this.


(system) #4

This topic was automatically closed after 21 days. New replies are no longer allowed.