Error importing Kibana dashboards

    Error message : 

instance/beat.go:667 Exiting: Error importing Kibana dashboards: fail to create the Kibana loader: Error creating Kibana client: can not convert 'object' into 'string' accessing 'setup.kibana.host' (source:'/etc/filebeat/filebeat.yml')
Exiting: Error importing Kibana dashboards: fail to create the Kibana loader: Error creating Kibana client: can not convert 'object' into 'string' accessing 'setup.kibana.host' (source:'/etc/filebeat/filebeat.yml')

Below is my configuration in filebeat.yml.

#============================== Dashboards =====================================
setup.dashboards.enabled: true

#============================== Kibana =====================================
setup.kibana:
host: "mydomain.com:5601"
username: "xxxx"
password: "xxxxxxxx"

#============================== Logstash output =====================================
output.logstash:
hosts: ["mydomain.com:5044"]

Manage to resolve the issue. It was caused by hosts property defined wrongly as array object.

1 Like

Is the import working now?

Yes.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.