# Elastic Agent (fleet) change default mapping

**URL:** <https://discuss.elastic.co/t/elastic-agent-fleet-change-default-mapping/357212>\
**Category:** Elastic Agent\
**Tags:** fleet\
**Created:** [April 11, 2024, 1:32pm UTC](https://discuss.elastic.co/t/elastic-agent-fleet-change-default-mapping/357212 "2024-04-11T13:32:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Julia\_Bardi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/julia_bardi/32/79463_2.png) [@Julia\_Bardi](https://discuss.elastic.co/u/Julia_Bardi)\
**Post date:** [May 21, 2024, 9:45am UTC](https://discuss.elastic.co/t/elastic-agent-fleet-change-default-mapping/357212/2 "2024-05-21T09:45:26Z")

</div>

Similar to this [Logs-azure.eventhub@custom - #2 by Julia\_Bardi](https://discuss.elastic.co/t/logs-azure-eventhub-custom/356775/2), you could try adding the mapping to `logs-azure.eventhub@custom` component template, that is not overwritten on package upgrades.

---

_[View the full topic](https://discuss.elastic.co/t/elastic-agent-fleet-change-default-mapping/357212)._
