Add a custom field to separate customers

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?