报错三:curl http://xx.xx.xx.xx:5601时报错:Kibana server is not ready yet
报错四:fail to get the Kibana version: HTTP GET request to /api/status fails
报错详细情况
sudo filebeat setup -e -E output.logstash.enabled=false -E output.elasticsearch.hosts=['xx.xx.xx.xx:9200'] -E setup.kibana.host=xx.xx.xx.xx:5601
2020-01-29T10:25:38.245+0800 INFO instance/beat.go:280 Setup Beat: filebeat; Version: 6.8.6
2020-01-29T10:25:38.246+0800 INFO elasticsearch/client.go:164 Elasticsearch url: http://xx.xx.xx.xx:9200
2020-01-29T10:25:38.246+0800 INFO [publisher] pipeline/module.go:110 Beat name: elk
2020-01-29T10:25:38.246+0800 INFO elasticsearch/client.go:164 Elasticsearch url: http://xx.xx.xx.xx:9200
2020-01-29T10:25:38.278+0800 INFO elasticsearch/client.go:739 Attempting to connect to Elasticsearch version 6.8.6
2020-01-29T10:25:38.396+0800 INFO template/load.go:128 Template already exists and will not be overwritten.
2020-01-29T10:25:38.396+0800 INFO instance/beat.go:889 Template successfully loaded.
Loaded index template
Loading dashboards (Kibana must be running and reachable)
2020-01-29T10:25:38.396+0800 INFO elasticsearch/client.go:164 Elasticsearch url: http://xx.xx.xx.xx:9200
2020-01-29T10:25:38.398+0800 INFO elasticsearch/client.go:739 Attempting to connect to Elasticsearch version 6.8.6
2020-01-29T10:25:38.495+0800 INFO kibana/client.go:118 Kibana url: http://xx.xx.xx.xx:5601
2020-01-29T10:25:38.495+0800 ERROR instance/beat.go:906 Exiting: fail to create the Kibana loader: Error creating Kibana client: 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://xx.xx.xx.xx:5601/api/status: dial tcp xx.xx.xx.xx:5601: connect: connection refused. Response: .**
Exiting: fail to create the Kibana loader: Error creating Kibana client: 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://xx.xx.xx.xx:5601/api/status: dial tcp xx.xx.xx.xx:5601: connect: connection refused. Response: .