# Create a new metric for metricbeat

**URL:** <https://discuss.elastic.co/t/create-a-new-metric-for-metricbeat/260977>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [January 13, 2021, 10:48am UTC](https://discuss.elastic.co/t/create-a-new-metric-for-metricbeat/260977 "2021-01-13T10:48:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MatteoM](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@MatteoM](https://discuss.elastic.co/u/MatteoM)\
**Post date:** [January 13, 2021, 10:48am UTC](https://discuss.elastic.co/t/create-a-new-metric-for-metricbeat/260977/1 "2021-01-13T10:48:50Z")

</div>

Hi there!  
I'm new in the forum and even to elasticsearch and kibana.  
For an university project I have to monitor several docker container created with marathon.  
Initially I've used zabbix to get the docker metrics for any container but with this I can’t create charming and powerfull dashboard therefore now I'm using kibana and elastic.  
I've used the metricbeat to fetch the metrics and it's worked but I need to fetch an metric called marathon\_app\_id beacause the container created by marathon are named mesos-13i4cxje34….. that is very hard to detect the container.  
Someone can tell me how can I create a custom metric to fetch the marathon app id for metric beat  
The marathon app id is contained inside the docker inspect's output.

---

<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:** [February 10, 2021, 12:48pm UTC](https://discuss.elastic.co/t/create-a-new-metric-for-metricbeat/260977/2 "2021-02-10T12:48:53Z")

</div>

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