# How to redirect s3 data to multiple pipelines

**URL:** <https://discuss.elastic.co/t/how-to-redirect-s3-data-to-multiple-pipelines/203974>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 17, 2019, 5:55am UTC](https://discuss.elastic.co/t/how-to-redirect-s3-data-to-multiple-pipelines/203974 "2019-10-17T05:55:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akki2208](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akki2208/32/54139_2.png) [@akki2208](https://discuss.elastic.co/u/akki2208)\
**Post date:** [October 17, 2019, 5:55am UTC](https://discuss.elastic.co/t/how-to-redirect-s3-data-to-multiple-pipelines/203974/1 "2019-10-17T05:55:35Z")

</div>

Hello Team,  
I need to send data of s3 input data to multiple pipelines based on some regex in the log path.  
can anyone here me here.  
@andrewkroh

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [October 17, 2019, 12:08pm UTC](https://discuss.elastic.co/t/how-to-redirect-s3-data-to-multiple-pipelines/203974/2 "2019-10-17T12:08:48Z")

</div>

You can use `output.elasticsearch.indices` to route data to pipelines conditionally.

[https://www.elastic.co/guide/en/beats/filebeat/current/elasticsearch-output.html#indices-option-es](https://www.elastic.co/guide/en/beats/filebeat/current/elasticsearch-output.html#indices-option-es)

---

<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:** [November 14, 2019, 12:08pm UTC](https://discuss.elastic.co/t/how-to-redirect-s3-data-to-multiple-pipelines/203974/3 "2019-11-14T12:08:50Z")

</div>

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