Hi,
I'd like to deduplicate data. We're hashing a subset of fields of the events into the document identifier. To do this in an ingest pipeline, I'd like to have an enrich policy like so:
PUT /_enrich/policy/event-duplicates
{
"match": {
"indices": "events",
"match_field": "_id",
"enrich_fields": ["status"]
}
}
This gives
Could not traverse mapping to field [_id]. Could not find the [_id] field under [root]
Is it possible to match by _id?
Thanks, Dan.