Exiting: error unpacking config data: can not convert 'string' into 'object' accessing 'output.logstash' (source:'filebeat.yml') accessing 'output' (source:'filebeat.yml')
Could you please share your configuration file formatted using </>
?
filebeat.inputs:
- type: log
enabled: true
paths:- /inm/app/tengine/logs/*.log
output.logstash:
hosts:["xx.xx.xx.xx:5044"]
Could you please format your configuration? Based on the error message you have pasted here, it seems like there is an indentation problem in the file. If your format it, all whitespaces are preserved, thus it lets me see the error.
filebeat.inputs:
- type: log
enabled: true
paths:
- /inm/app/tengine/logs/*.log
output.logstash:
hosts:["xx.xx.xx.xx:5044"]
I could not really validate your config, because the formatting is not correct. But this should be working:
filebeat.inputs:
- type: log
enabled: true
paths:
- /inm/app/tengine/logs/*.log
output.logstash:
enabled: true
hosts: ["172.16.70.29"]
Let me know if that works.
filebeat.inputs:
- type: log
enabled: true
paths:
- /inm/app/tengine/logs/*.log
output.logstash:
hosts: ["xx.xx.xx.xx:5044"]
Now working properly, the format problem has been bothering me for a long time. thank you for your help
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.