Hi Everyone ,
I am trying to display filebeat* indices at kibana but the file beat setup is giving below error:-
error connecting to kibana: fail to get the kibana version: http get request to h "http://localhost:5601/api/status": eof. response: . exiting: error connecting to kibana: fail to get the kibana version
Below is my filebeat.yml (config ) for Elasticsearch & kibana
# =================================== Kibana =================================== # Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API. # This requires a Kibana endpoint configuration. setup.kibana.host: "https://localhost:5601" # Kibana Host # Scheme and port can be left out and will be set to the default (http and 5601) # In case you specify and additional path, the scheme is required: http://localhost:5601/path # IPv6 addresses should always be defined as: https://[2001:db8::1]:5601 #host: "localhost:5601" # Kibana Space ID # ID of the Kibana Space into which the dashboards should be loaded. By default, # the Default Space will be used. #space.id: # ---------------------------- Elasticsearch Output ---------------------------- output.elasticsearch: # Array of hosts to connect to. # hosts: ["x.y.z.p:9200"] # output.elasticsearch: # Array of hosts to connect to. # hosts: ["https://x.y.z.p:9200"] hosts: ["https://x.y.z.p:9200"] ssl.certificate_authorities: ["/etc/elasticsearch/certs/elastic-stack-ca-non-prod.crt"] #ssl.certificate: "/etc/elasticsearch/certs/elastic-stack-ca-non-prod.crt" #ssl.key: "/etc/elasticsearch/certs/elastic-stack-ca-non-prod.key" # Protocol - either `http` (default) or `https`. # protocol: "https" # Authentication credentials - either API key or username/password. api_key: "abc" # password: "****"
Any help please?
Note - I am running es 7.14 version on Linux ec2 machine (say host xyz ) however I am running kibana through docker container which is running on host xyz only
Also my filebeat 7.15 version is running on host xyz
I can see filebeat* indices which have created at Elasticsearch which is running on host xyz but kibana setup is giving error
Please advice on the above kibana beat setup error