# Need help shipping stdout and stderr logs of docker container to different Elasticsearch/kibana

**URL:** https://discuss.elastic.co/t/need-help-shipping-stdout-and-stderr-logs-of-docker-container-to-different-elasticsearch-kibana/335978
**Category:** Logstash
**Tags:** docker
**Created:** [June 14, 2023, 12:30pm UTC](https://discuss.elastic.co/t/need-help-shipping-stdout-and-stderr-logs-of-docker-container-to-different-elasticsearch-kibana/335978 "2023-06-14T12:30:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Shobana\_Nagarajan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shobana_nagarajan/32/121930_2.png) [@Shobana\_Nagarajan](https://discuss.elastic.co/u/Shobana_Nagarajan)
#### Post date: [June 14, 2023, 12:30pm UTC](https://discuss.elastic.co/t/need-help-shipping-stdout-and-stderr-logs-of-docker-container-to-different-elasticsearch-kibana/335978/1 "2023-06-14T12:30:31Z")

</div>

Hi,  
I need to separate stdout and stderr streams from my docker container app and ship them to different elasticsearch/kibana hosts. Is it possible?  
With beats+elasticsearch+kibana, i was not able to get it working. Ref: [Sending stdout and stderr to different elasticsearch hosts and kibana - #2 by warkolm](https://discuss.elastic.co/t/sending-stdout-and-stderr-to-different-elasticsearch-hosts-and-kibana/335445/2)  
Is it possible to filter out with logstash to send to two different elasticseach hosts based on condition.  
Is this following configuration possible  
Machine1: application , filebeat, logstash (as containers)  
Machine2: kibana, elasticsearch (containers)  
Machine 3: kibana, elasticseach (containers)  
I am a beginner here. Would appreciate any help.  
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: [July 12, 2023, 12:30pm UTC](https://discuss.elastic.co/t/need-help-shipping-stdout-and-stderr-logs-of-docker-container-to-different-elasticsearch-kibana/335978/2 "2023-07-12T12:30:48Z")

</div>

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