Replace the indexed data with new data

If you set the elasticsearch output's document_id parameter to a fixed value, Logstash will update the existing document atomically updated instead of just piling on another document with an automatically chosen document id.