# Make create-metricset error 127

**URL:** <https://discuss.elastic.co/t/make-create-metricset-error-127/261298>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [January 15, 2021, 11:23pm UTC](https://discuss.elastic.co/t/make-create-metricset-error-127/261298 "2021-01-15T23:23:31Z")\
**Posts on this page:** 3\
**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 15, 2021, 11:23pm UTC](https://discuss.elastic.co/t/make-create-metricset-error-127/261298/1 "2021-01-15T23:23:31Z")

</div>

Hi there,  
I'm trying to create a new metric beat and to do this I followed the official guide for dev [Creating a Metricset | Beats Developer Guide [7.16] | Elastic](https://www.elastic.co/guide/en/beats/devguide/7.x/creating-metricsets.html)  
I cloneed the beat repository with git and moved out in the directory metricbeat and typed in the terminal make create-metricset as suggested in the guide but I obtain an error and I don't know why:

> Blockquote  
> make create-metricset  
> mage createMetricset  
> make: mage: Command not found  
> make: \*\*\* [Makefile:8: create-metricset] Errore 127

---

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [January 18, 2021, 9:02am UTC](https://discuss.elastic.co/t/make-create-metricset-error-127/261298/2 "2021-01-18T09:02:08Z")

</div>

I think you need to install the mage build tool: [https://github.com/magefile/mage](https://github.com/magefile/mage)

---

<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 15, 2021, 11:02am UTC](https://discuss.elastic.co/t/make-create-metricset-error-127/261298/3 "2021-02-15T11:02:08Z")

</div>

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