Hi, I'm using Elasticsearch and Kibana services in Azure and I have logstash on-prem. I want to have filebeat push logs to logstash. I'm trying to load the Kibana dashboard for filebeat using the endpoint URLs for Elasticsearch and Kibana as seen below:
filebeat setup -e
-E output.logstash.enabled=false
-E output.elasticsearch.hosts=['ELASTIC ENDPOINT URL']
-E output.elasticsearch.username=USER
-E output.elasticsearch.password=PW
-E setup.kibana.host=KIBANA ENDPOINT URL
However, I get this error when trying to run that command:
Loading dashboards (Kibana must be running and reachable)
2019-11-04T12:47:12.335-0800 INFO kibana/client.go:117 Kibana url: https://3859ca0bd01c418e91b537ccd48171f2.eastus2.azure.elastic-cloud.com:9243
2019-11-04T12:47:13.351-0800 INFO add_cloud_metadata/add_cloud_metadata.go:347 add_cloud_metadata: hosting provider type not detected.
2019-11-04T12:48:42.336-0800 ERROR instance/beat.go:877 Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to https://3859ca0bd01c418e91b537ccd48171f2.eastus2.azure.elastic-cloud.com:9243/api/status fails: fail to execute the HTTP GET request: Get https://3859ca0bd01c418e91b537ccd48171f2.eastus2.azure.elastic-cloud.com:9243/api/status: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers). Response: .
Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to https://3859ca0bd01c418e91b537ccd48171f2.eastus2.azure.elastic-cloud.com:9243/api/status fails: fail to execute the HTTP GET request: Get https://3859ca0bd01c418e91b537ccd48171f2.eastus2.azure.elastic-cloud.com:9243/api/status: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers). Response: .
Any help would be really appreciated!