How to redirect s3 data to multiple pipelines

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

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