Copy documents in another index on creation

We want to keep track of all the changes of a document, so we want to store all the document versions in separate index.
Is there a way when a new document is added or changes to send the entire document in another index? Maybe there is a processor for this use case?

I think the closest you could get with ingest processors would be https://www.elastic.co/guide/en/elasticsearch/reference/current/pipeline-processor.html

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.