I would like to be able to take a copy of each incoming Beats event and output directly to a file, then pass the events through a filter and output to Elasticsearch, i.e.
Input->Output (file)->Filter->Output(Elasticsearch).
Of course what will happen is Input->Filter->Output(file)->Output(Elasticsearch).
Does anyone know of a way to create both filtered and unfiltered outputs from within one pipeline?
Many thanks