Hello
Is there a way to let Functionbeat write to multiple indices?
I have seen that it can write to only one of many indices according to defined rules.
Example:
output.elasticsearch:
indices:
- index: "index-first"
when.contains:
message: "field1"
- index: "index-second"
when.contains:
message: "field2"
The above will write to index-first if field1 exists and to index-second if field2 exists.
What I want is to write tow copies of same data to both indices, can that be done from Functionbeat side?