Say I have a pipeline that writes events to two files. Both files should be in json format, but they should have different fields from the event and in a different format.
Thanks Badger - I'll look into it. However, right now we're starting one logstash instance and specifying path.config. I.e. we're sharing the settings, thus pipeline.yml as well between different instances, so this will be problematic to implement. Is it possible to do this within one pipeline in order to preserve this setup? Or should we consider splitting this up into multiple instances? Or other suggestions?
The documentation for the forked path pattern mentions that it can be done in one pipeline 'through creative use of the clone filter and if/else rules'.
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.