Set up the Kibana dashboards for Metricbeat

Hi all...

I am very new to ELK and still learning, so please be forbearing with my probably stupid questions.

I tried to find my issue within the search here, did not find it, so I guess it might be a very small issue.

Here we go:

I installed Metricbeat which is running fine.

I wanted to set up the example Kibana dashboards for Metricbeat now, via the command:

metricbeat setup --dashboards

This results in this error and I do not know what is going wrong:

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 getsockopt: connection refused. Response: .

The metricbeat.yml is also cofigured to setup.dashboards.enabled: true in the Dashboards section.

Metricbeat cannot connect to Kibana at localhost port 5601, which is the default.

Make sure metricbeat.yml is pointing to where your Kibana is running:

    host: "kibana_hostname:5601"

That worked... Thank you very much!

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