How could I change the "agent.name" in a Elastic Agent instance? 8.18

Once I’ve used the version 8.5 and we could overide the “agent.name” as well as add some tags in the documents generated by the service by editing the “mtricbeat.yaml” file. But as of now the document no longer exists and I’ve seen no other way to make the change happen.

I’d appreciate any help on the matter.

Hello @SamuelSMendes

I see below similar issue open as per your requirement :

For now i believe you can make use of tags which is available to filter your agents :

Thanks!!