Hi all!
I use this filter to prevent duplicates:
fingerprint {
source => "name"
target => "[@metadata][fingerprint]"
method => "MURMUR3"
}
And it works. I don't see documents with the same 'name' field in Kibana.
But if a document already exists with the same fingerprint, Elasticsearch will replace the existing contents with the one me just provided - the last indexed document wins.
How can I configure Logstash not to overwrite an existing document, but simply not add a new one if there is already a similar 'name' field?
Please tell me what to do. I'm desperate.