Load Kibana dashboard for MySQL

Hi,
I'm getting a file not found error when trying to load Kibana dashboard.
Metricbeat version: 6.2.2
Kibana version . : 5.5.2
Elasticsearch : 5.5.2

Elasticsearch and Kibana are AWS services, Metricbeat is installed on EC2.

command: sudo metricbeat setup --dashboards

here is the log:
2018-03-22T09:09:20.700Z INFO instance/beat.go:213 Setup Beat: metricbeat; Version: 6.2.2
2018-03-22T09:09:20.701Z INFO elasticsearch/client.go:145 Elasticsearch url: https:/<>:443
2018-03-22T09:09:20.703Z INFO pipeline/module.go:76 Beat name: worker-dev-impv3-0-14495297052-203
2018-03-22T09:09:20.703Z INFO elasticsearch/client.go:145 Elasticsearch url: https://<>:443
2018-03-22T09:09:20.791Z INFO elasticsearch/client.go:690 Connected to Elasticsearch version 5.5.2
2018-03-22T09:09:21.981Z ERROR instance/beat.go:667 Exiting: Error importing Kibana dashboards: fail to import the dashboards in Elasticsearch: Error importing directory /usr/share/metricbeat/kibana: Failed to import dashboard: Failed to load directory /usr/share/metricbeat/kibana/5/dashboard:
error loading /usr/share/metricbeat/kibana/5/dashboard/Metricbeat-uWSGI.json: open /usr/share/metricbeat/kibana/5/visualization/a5058e70-f0ae-11e7-b9ff-9f96241065de.json: no such file or directory

This looks like a bug with the Kibana 5 dashboards. The Metricbeat-uWSGI.json file is referencing visualization panels by UUID, but those panels were given friendly names. So probably the UUID references need replaced with the dashboard names.

Can you please open a new issue for this?

I think as a work around (if you are not using uWSGI) you can delete the /usr/share/metricbeat/kibana/5/dashboard/Metricbeat-uWSGI.json file and it will proceed with installing the dashboards.

Hi Andrew,
thanks much for prompt reply. workaround simply works.

Oded.

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