# Using logstash to route APM data to two servers

**URL:** <https://discuss.elastic.co/t/using-logstash-to-route-apm-data-to-two-servers/339977>\
**Category:** Logstash\
**Created:** [August 2, 2023, 10:13pm UTC](https://discuss.elastic.co/t/using-logstash-to-route-apm-data-to-two-servers/339977 "2023-08-02T22:13:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ElasticLiver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticliver/32/64869_2.png) [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Post date:** [August 2, 2023, 10:13pm UTC](https://discuss.elastic.co/t/using-logstash-to-route-apm-data-to-two-servers/339977/1 "2023-08-02T22:13:20Z")

</div>

Im am getting APM data on a APM server, I was wondering if its posible to place a logstash before the APM server, so I can send the same data to another server, so both receive the same data?

Something like this:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/b/9bd3d6def9a07234063bb9c50a705a9c7da75051.png)

if this is posible a few questions come to mind:

- will logstash alter in any way the data so it can not be procesed by the APM server, or loose some data?
- what inputs and output should I use?

Thanks!

---

<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:** [August 30, 2023, 10:13pm UTC](https://discuss.elastic.co/t/using-logstash-to-route-apm-data-to-two-servers/339977/2 "2023-08-30T22:13:21Z")

</div>

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