Add custom fields in Metricbeat

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

@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

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

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