It is not possible to use filters in the output, every transformation in the data needs to be done in the filter block.
What you need is to use multiple pipelines, check the documentation for the forked-path pattern.
You will need to have 3 pipelines, one will have your input and common filters and will output to the other two pipelines, one of them will output to elasticsearch, and the other will have the extra mutations and output to s3.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.