# Source of default apm dashboards

**URL:** https://discuss.elastic.co/t/source-of-default-apm-dashboards/187674
**Category:** APM
**Created:** [June 26, 2019, 8:37pm UTC](https://discuss.elastic.co/t/source-of-default-apm-dashboards/187674 "2019-06-26T20:37:36Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![karlpokus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karlpokus/32/48868_2.png) [@karlpokus](https://discuss.elastic.co/u/karlpokus)
#### Post date: [June 26, 2019, 8:37pm UTC](https://discuss.elastic.co/t/source-of-default-apm-dashboards/187674/1 "2019-06-26T20:37:36Z")

</div>

Can I get the source for the default kibana apm dashboards? There's no right clicking anywhere.

---

<div class="post-metadata">

### Author: ![Andre\_Letterer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andre_letterer/32/42248_2.png) [@Andre\_Letterer](https://discuss.elastic.co/u/Andre_Letterer)
#### Post date: [June 26, 2019, 10:49pm UTC](https://discuss.elastic.co/t/source-of-default-apm-dashboards/187674/2 "2019-06-26T22:49:23Z")

</div>

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:

1. 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](https://www.elastic.co/guide/en/kibana/master/dashboard-import-api-export.html)
2. You can see the source code in the github repository:  
[https://github.com/elastic/apm-contrib](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.

---

<div class="post-metadata">

### Author: ![karlpokus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karlpokus/32/48868_2.png) [@karlpokus](https://discuss.elastic.co/u/karlpokus)
#### Post date: [July 1, 2019, 7:46pm UTC](https://discuss.elastic.co/t/source-of-default-apm-dashboards/187674/3 "2019-07-01T19:46:50Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![axw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/axw/32/28197_2.png) [@axw](https://discuss.elastic.co/u/axw)
#### Post date: [July 2, 2019, 1:42am UTC](https://discuss.elastic.co/t/source-of-default-apm-dashboards/187674/4 "2019-07-02T01:42:23Z")

</div>

@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](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.

---

<div class="post-metadata">

### Author: ![karlpokus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karlpokus/32/48868_2.png) [@karlpokus](https://discuss.elastic.co/u/karlpokus)
#### Post date: [July 2, 2019, 7:59pm UTC](https://discuss.elastic.co/t/source-of-default-apm-dashboards/187674/5 "2019-07-02T19:59:02Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![axw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/axw/32/28197_2.png) [@axw](https://discuss.elastic.co/u/axw)
#### Post date: [July 3, 2019, 12:53am UTC](https://discuss.elastic.co/t/source-of-default-apm-dashboards/187674/6 "2019-07-03T00:53:15Z")

</div>

Regarding the `Saved "field" parameter is now invalid` error, it sounds like maybe you're hitting [https://github.com/elastic/apm-contrib/issues/22](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](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](https://github.com/elastic/kibana/blob/master/licenses/ELASTIC-LICENSE.txt).

---

<div class="post-metadata">

### Author: ![karlpokus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karlpokus/32/48868_2.png) [@karlpokus](https://discuss.elastic.co/u/karlpokus)
#### Post date: [July 3, 2019, 9:21pm UTC](https://discuss.elastic.co/t/source-of-default-apm-dashboards/187674/7 "2019-07-03T21:21:27Z")

</div>

@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.

---

<div class="post-metadata">

### Author: ![axw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/axw/32/28197_2.png) [@axw](https://discuss.elastic.co/u/axw)
#### Post date: [July 4, 2019, 3:47am UTC](https://discuss.elastic.co/t/source-of-default-apm-dashboards/187674/8 "2019-07-04T03:47:12Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![karlpokus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karlpokus/32/48868_2.png) [@karlpokus](https://discuss.elastic.co/u/karlpokus)
#### Post date: [July 4, 2019, 8:23am UTC](https://discuss.elastic.co/t/source-of-default-apm-dashboards/187674/9 "2019-07-04T08:23:03Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 25, 2019, 4:23am UTC](https://discuss.elastic.co/t/source-of-default-apm-dashboards/187674/10 "2019-07-25T04:23:12Z")

</div>

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