How to duplicate message in 2 elasticsearch index

(Clood) #1

I have one input and i want to output it in 2 differents elasticsearch indexes

The fields in the 2 indexes must be different :

field1 field2 field3 field3

index1 : field1, field2
index2 : field1, field3, field4

how can I do that

(system) #2