# One filebeat to more IPs anad ports per appliaction

**URL:** <https://discuss.elastic.co/t/one-filebeat-to-more-ips-anad-ports-per-appliaction/349327>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [December 14, 2023, 6:41am UTC](https://discuss.elastic.co/t/one-filebeat-to-more-ips-anad-ports-per-appliaction/349327 "2023-12-14T06:41:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ROVIS\_EU](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rovis_eu/32/128585_2.png) [@ROVIS\_EU](https://discuss.elastic.co/u/ROVIS_EU)\
**Post date:** [December 14, 2023, 6:41am UTC](https://discuss.elastic.co/t/one-filebeat-to-more-ips-anad-ports-per-appliaction/349327/1 "2023-12-14T06:41:03Z")

</div>

Hello, excuse me but isn't time for some changes?  
I watched some threads here and on another sites a many people ask for more different target IPs or ports, for example:  
we have hundreds servers with JBoss, on each of them runs 1-5 instances and in each instance runs 1-5 applications - our elstack/kibana team uses about ten servers and for each application use different port  
when is 15 applications on 1 server and each of them uses different port, we must have 15 instances of filebeat on server? why? please change definitions for hosts for example as wrote ' [yuswanul]':  
output.logstash:  
when.contains:  
application\_name: "APP1"  
hosts: ["LOG-server1:10001"]  
when.contains:  
application\_name: "APP2"  
hosts: ["LOG-server1:10002", "LOG-server2:10002"]

thank you so much  
R.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 11, 2024, 8:41am UTC](https://discuss.elastic.co/t/one-filebeat-to-more-ips-anad-ports-per-appliaction/349327/2 "2024-01-11T08:41:26Z")

</div>

Closed on January 11, 2024, 8:41am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
