# Sending multiple logs to same ingestion VM with (elastic agent installed in it) and send them to elasticsearch cluster?

**URL:** <https://discuss.elastic.co/t/sending-multiple-logs-to-same-ingestion-vm-with-elastic-agent-installed-in-it-and-send-them-to-elasticsearch-cluster/364751>\
**Category:** Elastic Agent\
**Created:** [August 11, 2024, 10:25pm UTC](https://discuss.elastic.co/t/sending-multiple-logs-to-same-ingestion-vm-with-elastic-agent-installed-in-it-and-send-them-to-elasticsearch-cluster/364751 "2024-08-11T22:25:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abdarrahmane](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@Abdarrahmane](https://discuss.elastic.co/u/Abdarrahmane)\
**Post date:** [August 11, 2024, 10:25pm UTC](https://discuss.elastic.co/t/sending-multiple-logs-to-same-ingestion-vm-with-elastic-agent-installed-in-it-and-send-them-to-elasticsearch-cluster/364751/1 "2024-08-11T22:25:37Z")

</div>

hello everyone !

i need guidance please  
i want to use an ingestion vm 192.168.1.124 (ubuntu server with elastic agent installed in it and enrolled in fleet) to receive logs from a lot of servers and components in my infra like fortigate, sophos, cyberarc ... using the same port 514 (192.168.1.124:514) and then the elastic agent sends those logs to elasticsearch so I can visualize them in kibana using elastic agent's integrations  
is this approach possible ?  
if yes how can I achieve it ?  
or should I use logstash instead ?  
thank you

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [August 11, 2024, 11:03pm UTC](https://discuss.elastic.co/t/sending-multiple-logs-to-same-ingestion-vm-with-elastic-agent-installed-in-it-and-send-them-to-elasticsearch-cluster/364751/2 "2024-08-11T23:03:04Z")

</div>

> [@Abdarrahmane](#):
>
> is this approach possible ?

Not using the same port, each integration will need a different port.

---

<div class="post-metadata">

**Author:** ![Abdarrahmane](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@Abdarrahmane](https://discuss.elastic.co/u/Abdarrahmane)\
**Post date:** [August 12, 2024, 7:19pm UTC](https://discuss.elastic.co/t/sending-multiple-logs-to-same-ingestion-vm-with-elastic-agent-installed-in-it-and-send-them-to-elasticsearch-cluster/364751/3 "2024-08-12T19:19:15Z")

</div>

Hello Leandro

Thank you for taking the time to answer,

so it's only possible if the servers send logs to my ingestion server 192.168.1.124 but using different ports and same thing for elastic agent integrations each one should use different port in their configuration ?

please confirm

thank you !
