How do I connect FIlebeat to remote kibana?
in my filebeat.yml file, I gave the ip address on which kibana is working
IPv6 addresses should always be defined as: https://[2001:db8::1]:5601
Exiting: Error importing Kibana dashboards: fail to create the Kibana loader: Error creating Kibana client: fail to get the Kibana version:HTTP GET request to /api/status fails: fail to execute the HTTP GET request: Get http://ip_addr:5602/api/status: dial tcp ip_addr:5602: getsockopt: connection refused. Response:
Which versions of Kibana and Filebeat are you using?
You have Filebeat 6.2.2 and Kibana 6.2.2? Can you try to use
curl to see if Kibana is reachable from the server Filebeat is on?
I run kibana and elasticsearch and filebeat instances on a docker stack. Thy are all at version 6.2.2.
I am attempting to load the filebeat dashboards in my kibana instance. I try to run the setup separately with this command:
docker run --net=SWARM_NET docker.elastic.co/beats/filebeat:6.2.2 setup -E "output.elasticsearch.hosts=["http://elasticsearch:9200"]" -E "setup.kibana.host:"http://kibana:5601"" --dashboards
It does not work. I see in the logs:
INFO elasticsearch/client.go:145 Elasticsearch url: http://elasticsearch:9200
INFO kibana/client.go:69 Kibana url: http://localhost:5601
So elasticsearch's url is properly set but not kibana's.
Is there a way to set kibana's url through the command line?
You use a
: instead of a
= in the above command before the kibana host. Changing it should solve your issue.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.