# Add a custom field to separate customers

**URL:** <https://discuss.elastic.co/t/add-a-custom-field-to-separate-customers/346624>\
**Category:** APM\
**Tags:** server\
**Created:** [November 7, 2023, 2:24pm UTC](https://discuss.elastic.co/t/add-a-custom-field-to-separate-customers/346624 "2023-11-07T14:24:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ElasticLiver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticliver/32/64869_2.png) [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Post date:** [November 7, 2023, 2:24pm UTC](https://discuss.elastic.co/t/add-a-custom-field-to-separate-customers/346624/1 "2023-11-07T14:24:34Z")

</div>

Hi, I will have two diferent customers, they will use two separate APM server sending data to the same elasticsearch, is there a way to add a custom field "customer\_name" to do the filtering in the roles?

---

<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 5, 2023, 2:25pm UTC](https://discuss.elastic.co/t/add-a-custom-field-to-separate-customers/346624/2 "2023-12-05T14:25:04Z")

</div>

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