If a logstash pipeline (conf file) is used to update and insert both i.e., enabled below in the conf file.
doc_as_upsert => true action => "update"
How to know which documents are updated and which are inserted?
Please note that I have checked about
_version field. But it is not helpful in my case as it is not a searchable field.