How to update new record only

I used logstash and try to update change data in mysql to elasticsearch.....but it reindex again the whole documents instead of chnage the version number...bcz when we update anything it should has to chnage ther version number....neither chnage the whole index...

my config file is given below: I kept document_id ="%{filed_name}"

but it reindex done not update version

Can you give an example of what you're getting vs. what you expected to get?

I want to send update record of mysql to elastic using logstash.....but when did...it is doing reindex....not updating....bcz version not changed of doc...

Show an example of a document that didn't look like you expected it to, and what you expected it to look like.

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