I have seen a peculiar behavior while using the logstash JDBC input plugin and Elasticsearch output plugin.
Initial indexing has been completed and was trying to do the partial update for few columns.
When I have sent only few columns (Not all) for updating the existing document in elasticsearch, I see that those documents are getting deleted. This is with the default value of index for action parameter of elasticsearch output.
Ultimately I have used action as update to have the partial update done successfully.
But it is very strange to see that documents gets deleted when few fields have been sent to elasticsearch with action set to index.
Anyone has faced this issue? Any idea why this behavior. (Version 7.6.2)