I use ansible in order to list the available (imported) beat-dashboards. I select a number of dashboards to import to a number of spaces and it works fine. However, I get a 404 error when I click a "sub/included" dashboard. Say I click the imported "Syslog..." dashboard and want to look at "SSH logins" I immediately get a 404 error. I use the Kibana "Copy saved object API" (/api/spaces/_copy_saved_objects) to copy the dashboards from a "master dashboard space" to other spaces.
An example:
Link to "sub dashboard" for syslog master dashboard .../app/dashboards#/**dashboard**/5517a150-f9ce-11e6-8115-a7c18106d86a-ecs
The link rendered when I click the "sub dashboard"
Okay, so you're installing our pre-made Beats dashboards, but you need them available across all your spaces, correct?
So, you use the _copy_saved_objects endpoint to copy them to each space.
But, then the links from the main dashboard to the others are broken?
My first guess would be that the saved object IDs are being changed when you perform the copy operation, breaking the links.
You can set the createNewCopies option to false to retain the same IDs for the sub dashboards even after copying them to a new space (see details in the doc).
Let me know if this solves your issue!
Note: I should also mention that we are planning a better way to make these dashboards available in multiple spaces. We are planning to make these shareable among spaces. See this issue.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.