I have a JSON object with some of the fields like this:-
{
"desc": "this is test description",
"name": "some random name",
}
While indexing this document, I would like to change the field names and my document after indexing should look like this:-
{
"description": "this is test description",
"user_name": "some random name",
}
I've read about the Ingest pipeline processort but they only rename after a field is created. Is there any way that I could change the field names while indexing?