How to delete / avoid duplicate ID's cause I have few similar logs which are comming from wazuh, so I would like to remove duplicate ids .
If you use the id as the document id and use the create API that should reject insertion of a second document with the same id.
Can you please share some usable code if possible.
Thanks in advance.