# How to display custom calculated machine learning metrics on Kibana dashboard?

**URL:** <https://discuss.elastic.co/t/how-to-display-custom-calculated-machine-learning-metrics-on-kibana-dashboard/317330>\
**Category:** Kibana\
**Created:** [October 24, 2022, 3:13pm UTC](https://discuss.elastic.co/t/how-to-display-custom-calculated-machine-learning-metrics-on-kibana-dashboard/317330 "2022-10-24T15:13:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suraj\_Manjunatha](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@Suraj\_Manjunatha](https://discuss.elastic.co/u/Suraj_Manjunatha)\
**Post date:** [October 24, 2022, 3:13pm UTC](https://discuss.elastic.co/t/how-to-display-custom-calculated-machine-learning-metrics-on-kibana-dashboard/317330/1 "2022-10-24T15:13:52Z")

</div>

Hello,

I have a ML model for image classification problem running on Azure Kubernetes instance on python. I would like to visualize some model metrics like precision, accuracy, recall etc. on a kibana dashboard. With every image sent as a request with ground truth, the metrics are calculated. I can construct charts of metric scores (y-axis) vs image\_number (x-axis) on azure ml workspace and now trying to have those charts (score vs timestamp maybe) on a Kibana dashboard. I have established a connection with the ELK stack and filebeat (Installed on kubernetes cluster) and able to discover all my metric scores output in the filebeat log messages.

I would like to know how I could capture my score alone and make a chart out of it. Is there a way to make my metrics indexed in Elasticsearch and then build a dashboard out of it? I also came across the Elastic APM and metricset feature (push custom metric to Elasticsearch) but I could not understand the end-to-end setup for my application. Please provide me some detailed information or sample code to push metrics that could help me.

ELK and Filebeat version: 7.17.3 with helm charts (Latest)

Thank you.

---

<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:** [November 14, 2022, 11:14am UTC](https://discuss.elastic.co/t/how-to-display-custom-calculated-machine-learning-metrics-on-kibana-dashboard/317330/2 "2022-11-14T11:14:36Z")

</div>

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