Can I get the source for the default kibana apm dashboards? There's no right clicking anywhere.
Hi,
Thank you for reaching out to the community.
You didn't write what is the agent source of your apm or the used kibana version you use.
But in general you have two possibilities to get to the source code of the dashboards:
- You can use the Kibana API to export the APM dashboard using it's dashboard name, see here:
https://www.elastic.co/guide/en/kibana/master/dashboard-import-api-export.html - You can see the source code in the github repository:
https://github.com/elastic/apm-contrib
An extra possibility would be, to search in the .kibana index in elasticsearch, because there are the dashboards at home.
Sorry for the late reply. I use apm and kibana 7.1.1
All your links contain the dashboards in json. I don't think those are user-friendly at all. I was more looking for a way to edit the visualizations. I can't find any of the apm dashboard under the dashboards
tab in kibana.
@karlpokus the dashboards are no longer loaded by APM by default, which probably explains why you won't find them on the dashboards page.
You'll find instructions at https://github.com/elastic/apm-contrib/tree/master/apm-ui for loading the dashboards into Kibana. After they're loaded, you should be able to find them on the dashboards page; there will be an "Edit" button at the top of the dashboard page, and then the cog for each panel gives you the option of editing the individual visualisations.
Now after writing all that, it occurs to me that maybe by dashboard you're referring to the APM UI? If so, that is not editable - it's a React application, not a dashboard composed of visualisations.
Hope this helps.
Hi @axw! nice to see you again
I found the dashboard in the repo. After importing them and trying to view them I got a mixture of "1 of 43 shards failed", "Saved "field" parameter is now invalid. Please select a new field" and something about "service.name" not being found.
I got "[APM] Services" to load without errors but sadly no data even though the APM UI (the react app) shows data.
Is there a way to get the source for the APM UI? At least that seems stable enough.
Regarding the Saved "field" parameter is now invalid
error, it sounds like maybe you're hitting https://github.com/elastic/apm-contrib/issues/22. Did you upgrade from 6.x to 7.1.1?
You may need to refresh your index pattern. After doing so, you should find a service.name
field which is both "Searchable" and "Aggregatable". In 6.x this field was called context.service.name
.
The source for the APM UI is here: https://github.com/elastic/kibana/tree/master/x-pack/legacy/plugins/apm. In case you're not already aware, the APM UI comes under the Elastic License.
@axw No upgrade. Fresh install of 7.1.1
I do have context.service.name
in the discover tab but no service.name
. I'll try refreshing.
That doesn't sound right. Are you sure that apm-server
is 7.1.1? Maybe you've got an old apm-server and new ES/Kibana?
Deployment version: v7.1.1
kibana: v 7.1.1
apm: v7.1.1
elastic: v7.1.1
I still get the odd 2 of 48 shards failed...
once in a while after I do a search.
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.