# Custom Metrics in Kibana

**URL:** <https://discuss.elastic.co/t/custom-metrics-in-kibana/275615>\
**Category:** APM\
**Tags:** java, ui\
**Created:** [June 10, 2021, 7:46pm UTC](https://discuss.elastic.co/t/custom-metrics-in-kibana/275615 "2021-06-10T19:46:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigtim22](https://avatars.discourse-cdn.com/v4/letter/b/cc9497/32.png) [@bigtim22](https://discuss.elastic.co/u/bigtim22)\
**Post date:** [June 10, 2021, 7:46pm UTC](https://discuss.elastic.co/t/custom-metrics-in-kibana/275615/1 "2021-06-10T19:46:26Z")

</div>

I couldn't find much on the internet that explained this. I followed the Custom Metrics page in the Elastic tutorials for using custom metrics with micrometer, but I was a bit confused how to use them in Kibana. Currently I can search for them in Dev Tools and in APM, but they do not show up as metrics that can be visualized.

Is this not currently supported? Is there something I need to manually customize to set this up to make dashboards?

I came across this post from last year that made it sound like you need to manually do stuff for custom metrics: [Custom metrics via APM Java agent Micrometer integration are missing](https://discuss.elastic.co/t/custom-metrics-via-apm-java-agent-micrometer-integration-are-missing/250746)

Thanks

---

<div class="post-metadata">

**Author:** ![Koby\_Bass](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/koby_bass/32/90553_2.png) [@Koby\_Bass](https://discuss.elastic.co/u/Koby_Bass)\
**Post date:** [June 20, 2021, 7:51am UTC](https://discuss.elastic.co/t/custom-metrics-in-kibana/275615/2 "2021-06-20T07:51:00Z")

</div>

In my case APM metrics are saved under a different index pattern. I created a separate index pattern for the APM metrics:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/9/e9d5ee403142af3bbfbd58978b4ab0353a7bac9f.png)

Then you can search the index pattern to view them, or if you want to use the metrics screen, you can update the sources under settings:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/a/3a5acacbb4e659e45d8efbab9778e08d437579a7.png)

---

<div class="post-metadata">

**Author:** ![bigtim22](https://avatars.discourse-cdn.com/v4/letter/b/cc9497/32.png) [@bigtim22](https://discuss.elastic.co/u/bigtim22)\
**Post date:** [June 24, 2021, 6:42pm UTC](https://discuss.elastic.co/t/custom-metrics-in-kibana/275615/3 "2021-06-24T18:42:54Z")

</div>

Awesome! That worked, thanks so much!

---

<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 15, 2021, 2:43pm UTC](https://discuss.elastic.co/t/custom-metrics-in-kibana/275615/4 "2021-07-15T14:43:15Z")

</div>

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