# Add custom fields in Metricbeat

**URL:** https://discuss.elastic.co/t/add-custom-fields-in-metricbeat/209285
**Category:** Beats
**Tags:** metricbeat
**Created:** [November 25, 2019, 10:44am UTC](https://discuss.elastic.co/t/add-custom-fields-in-metricbeat/209285 "2019-11-25T10:44:24Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![SunilSMenon](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@SunilSMenon](https://discuss.elastic.co/u/SunilSMenon)
#### Post date: [November 25, 2019, 10:44am UTC](https://discuss.elastic.co/t/add-custom-fields-in-metricbeat/209285/1 "2019-11-25T10:44:24Z")

</div>

Hi,  
Can anyone help me to know how to add custom fields in Metricbeat.

Requirement : While configuring Metricbeat for one server I want to add the Server Owner & Server Environment for that server. So that in Kibana we can create visualizations based on these custom fields

---

<div class="post-metadata">

### Author: ![Alex\_Kristiansen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_kristiansen/32/46086_2.png) [@Alex\_Kristiansen](https://discuss.elastic.co/u/Alex_Kristiansen)
#### Post date: [November 25, 2019, 3:02pm UTC](https://discuss.elastic.co/t/add-custom-fields-in-metricbeat/209285/2 "2019-11-25T15:02:53Z")

</div>

@SunilSMenon,

Beats have an `add_field` processor. Could this be what you're looking for? [https://www.elastic.co/guide/en/beats/metricbeat/current/add-fields.html](https://www.elastic.co/guide/en/beats/metricbeat/current/add-fields.html)

---

<div class="post-metadata">

### Author: ![SunilSMenon](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@SunilSMenon](https://discuss.elastic.co/u/SunilSMenon)
#### Post date: [November 28, 2019, 10:52am UTC](https://discuss.elastic.co/t/add-custom-fields-in-metricbeat/209285/3 "2019-11-28T10:52:59Z")

</div>

Thanks for your revert.

Yes I am looking for to add custom fields such as Server Owner and Business Name. Can you guide me how to do it

---

<div class="post-metadata">

### Author: ![SunilSMenon](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@SunilSMenon](https://discuss.elastic.co/u/SunilSMenon)
#### Post date: [November 28, 2019, 11:01am UTC](https://discuss.elastic.co/t/add-custom-fields-in-metricbeat/209285/4 "2019-11-28T11:01:30Z")

</div>

I am able to add under processors, and also able to find in the discover tab. But not able to build visualizations using this field . A (?) appears next to the field

![image001.png](https://us1.discourse-cdn.com/elastic/original/3X/a/d/ad12a1952b882f5856e7716e9d0e174afcaefabc.png)

---

<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: [December 26, 2019, 11:01am UTC](https://discuss.elastic.co/t/add-custom-fields-in-metricbeat/209285/5 "2019-12-26T11:01:43Z")

</div>

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