# Can't create new metricset

**URL:** <https://discuss.elastic.co/t/cant-create-new-metricset/91601>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [July 3, 2017, 7:46am UTC](https://discuss.elastic.co/t/cant-create-new-metricset/91601 "2017-07-03T07:46:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![noamblu1](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@noamblu1](https://discuss.elastic.co/u/noamblu1)\
**Post date:** [July 3, 2017, 7:46am UTC](https://discuss.elastic.co/t/cant-create-new-metricset/91601/1 "2017-07-03T07:46:34Z")

</div>

Hi,  
I have tried to create new metricset on a Windows server r2 with the command "make create-metricset" at the metricbeat directory and I receive an output of " 'make' is not recognized as an internal command or external command, operable program or batch file"  
( I have installed go)  
I guss I don't use the command the right way, so how do I use it.

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [July 3, 2017, 9:38am UTC](https://discuss.elastic.co/t/cant-create-new-metricset/91601/2 "2017-07-03T09:38:13Z")

</div>

Hi @noamblu1,

I'm afraid our make scripts are meant to be run on Linux. In the other hand, it should be easy to extract the needed commands to do it by yourself:

> <https://github.com/elastic/beats/blob/57b592628303a04d9307afdf0d90872203e61c6d/metricbeat/Makefile#L77>

Also you can copy an existing module and adapt it to your needs, ie:

> **[elastic/beats](https://github.com/elastic/beats/tree/master/metricbeat/module/apache)**
>
> beats - :tropical\_fish: Beats - Lightweight shippers for Elasticsearch & Logstash

---

<div class="post-metadata">

**Author:** ![noamblu1](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@noamblu1](https://discuss.elastic.co/u/noamblu1)\
**Post date:** [July 12, 2017, 7:40am UTC](https://discuss.elastic.co/t/cant-create-new-metricset/91601/3 "2017-07-12T07:40:01Z")

</div>

Thank you for the support earlier,  
I have another question  
If I run the command: "make" does it run all over the makefile?

---

<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:** [August 9, 2017, 7:40am UTC](https://discuss.elastic.co/t/cant-create-new-metricset/91601/4 "2017-08-09T07:40:39Z")

</div>

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