Metricbeat dashboards

Hi,

I'm trying to loads the dashboards from the Metricbeat package to kibana
From some reason I'm getting the following error

Why it fail to contact Kibana ?

[root@skyeuropeelk metricbeat]# metricbeat setup --dashboards
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://localhost:5601/api/status: dial tcp 127.0.0.1:5601: getsockopt: connection refused. Response: .

Where does Kibana live?

@ELE, Your kibana dashboard should be reachable from that server from where you are trying to setup metricbeat dashboards. You need to define the kibana IP or domain name in metricbeat.yml file.

check the below part in your metricbeat.yml file

#============================== Kibana =====================================

# Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.
# This requires a Kibana endpoint configuration.
setup.kibana:

  # 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: "Your_Kibana_server_IP:5601"

Thanks.

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