I'm trying to create an Ingest Pipeline in Elasticsearch 7.4 that will allow me to to take the value of the "_id" metadata field and copy it into a new field. I've tried using the "set" processor to do this, but I'm unable to do so. Below is the ingest pipeline settings
PUT _ingest/pipeline/<pipeline name>
{
"description": "Move value from _id metadata field to new_field",
"processors": [
{
"set": {
"field": "new_field",
"value": "{{_id}}"
}
}
]
}
}