Error importing Kibana dashboards


(Gaurav Vijayvergia) #1
    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"]


(Gaurav Vijayvergia) #2

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


(Steffen Siering) #3

Is the import working now?


(Gaurav Vijayvergia) #4

Yes.


(system) #5

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