# Customize Elastic Agent modules/integrations just like what we did with Metricbeat using Golang

**URL:** <https://discuss.elastic.co/t/customize-elastic-agent-modules-integrations-just-like-what-we-did-with-metricbeat-using-golang/329283>\
**Category:** Elastic Agent\
**Tags:** metricbeat\
**Created:** [April 4, 2023, 7:15am UTC](https://discuss.elastic.co/t/customize-elastic-agent-modules-integrations-just-like-what-we-did-with-metricbeat-using-golang/329283 "2023-04-04T07:15:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jtrongkhoa](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@jtrongkhoa](https://discuss.elastic.co/u/jtrongkhoa)\
**Post date:** [April 4, 2023, 7:15am UTC](https://discuss.elastic.co/t/customize-elastic-agent-modules-integrations-just-like-what-we-did-with-metricbeat-using-golang/329283/1 "2023-04-04T07:15:07Z")

</div>

Hi all,

Our company is considering using Elastic Agent instead of Beats (Metricbeat). But I am curious whether Elastic agent could be customized/extended to collect the metrics that has not been supported yet by the current version?  
I am aware that we are able to do that with Metricbeat, using Golang to create new module and integrate that to the Metricbeat customized build ([reference this link](https://www.elastic.co/guide/en/beats/devguide/current/metricbeat-developer-guide.html)).

However, I am not sure if that is feasible with Elastic agent or not.  
Please share with me some information or guideline if you know how to do this.

Thank you a lot!

---

<div class="post-metadata">

**Author:** ![Agi\_K\_Thomas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/agi_k_thomas/32/130842_2.png) [@Agi\_K\_Thomas](https://discuss.elastic.co/u/Agi_K_Thomas)\
**Post date:** [April 20, 2023, 4:33am UTC](https://discuss.elastic.co/t/customize-elastic-agent-modules-integrations-just-like-what-we-did-with-metricbeat-using-golang/329283/2 "2023-04-20T04:33:41Z")

</div>

You consider exploring input packages

> **[Search results | Elastic docs](https://docs.elastic.co/search?q=input%20package&size=n_20_n)**
>
> Search results.

---

<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:** [May 18, 2023, 4:33am UTC](https://discuss.elastic.co/t/customize-elastic-agent-modules-integrations-just-like-what-we-did-with-metricbeat-using-golang/329283/3 "2023-05-18T04:33:57Z")

</div>

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