question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] metricbeat dashboards fail to install

See original GitHub issue

Attempting to install metricbeat (7.12.1) dashboards into the opensearch-dashboard fails due to the Kibana version check.

The workaround is to manually upload them with curl, for example:

curl -k -XPOST -u USER:PASSWORD -H "osd-xsrf: true" -H 'content-type: application/json' \
https://DASHBOARD-HOSTNAME:5601/api/opensearch-dashboards/dashboards/import?exclude=index-patterh\&force=true \
-d@/usr/share/metricbeat/kibana/7/dashboard/Metricbeat-system-overview.json

The command above appears to succeed (200 status), but the uploaded dashboards never show up in the “dashboards” section of the GUI and there are no errors in the logs indicating a problem.

Is there any guidance for installing the metricbeat dashboards to opensearch/opensearch-dashboard 1.0.1 ?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:3
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
wyllys66commented, Sep 29, 2021

I was mistaken. They are visible, but only in the private tenant exclusive to the user id that uploaded them.

Is there a way to make them globally available?

0reactions
opoplawskicommented, Aug 5, 2022

Filebeat 7.17.3 suricata dashboards:

curl -XPOST -u admin -H 'osd-xsrf: true' -H 'Content-Type: application/json' 'https://FQDN:5601/api/opensearch-dashboards/dashboards/import?exclude=index-pattern&force=true' -d@/usr/share/filebeat/kibana/7/dashboard/filebeat-suricata-event-overview.json
{"statusCode":400,"error":"Bad Request","message":"[request body.objects]: expected value of type [array] but got [undefined]"}

I suspect one would need to import the related visualizations first but I have no idea how to do that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Metricbeat does not install dashboards when running setup
Metricbeat 6.2.3 reports a failure when attempting to install the kibana dashboards as the command expects the kibana/6 folder to be in the ......
Read more >
sysutils/beats7: Filebeat dashboards fail to install on setup
Any updates on this issue? I'm seeing the same problems with metricbeat when importing the dashboards, so I guess it affects all beats....
Read more >
resource 'metricbeat-7.5.0' exists, but it is not an alias) - Stack ...
Problem with Kibana unable to load Dashboards (Exiting: resource 'metricbeat-7.5.0' exists, but it is not an alias) · How did you install ......
Read more >
Unable to load beat dashboards on kibana - Users Feedback
I suggest to uninstall readonlyrest from Kibana and reinstall it after you are done. We'll will fix that bug ASAP. sscarduzio (Simone Scarduzio) ......
Read more >
Permissions for metricbeat to load dashboards into Kibana
metricbeat setup. Loaded index template. Exiting: Error importing Kibana dashboards: fail to import the dashboards in Kibana: Error ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found