# Add several integrations to one Elastic Agent

**URL:** <https://discuss.elastic.co/t/add-several-integrations-to-one-elastic-agent/368509>\
**Category:** Elastic Agent\
**Created:** [October 9, 2024, 9:12am UTC](https://discuss.elastic.co/t/add-several-integrations-to-one-elastic-agent/368509 "2024-10-09T09:12:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![riahc3](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@riahc3](https://discuss.elastic.co/u/riahc3)\
**Post date:** [October 9, 2024, 9:12am UTC](https://discuss.elastic.co/t/add-several-integrations-to-one-elastic-agent/368509/1 "2024-10-09T09:12:53Z")

</div>

Hello

I have a Elastic Agent collecting Windows logs. I want to add that it collects Citrix ADC logs.

How do I do this?

I tried combining the elastic-agent.yml contents but...it does not work.

Can I make several .yml files and use those? It would be better organized and make it easier.

---

<div class="post-metadata">

**Author:** ![juancamiloll](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juancamiloll/32/110326_2.png) [@juancamiloll](https://discuss.elastic.co/u/juancamiloll)\
**Post date:** [October 11, 2024, 3:23pm UTC](https://discuss.elastic.co/t/add-several-integrations-to-one-elastic-agent/368509/2 "2024-10-11T15:23:19Z")

</div>

hi  
Why don't you use the integrations directly?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/4/849e64cd3f566aa5091ee7675dba1ce16c1061c6.png)
