Using elasticsearch 5.x, fscrawler 2.4
fscrawler https://github.com/dadoonet/fscrawler#using-ingest-node-pipeline
generates default fields like "content", and offers an injest node pipline per above link.
I am unclear on how to construct the pipeline file to rename the fields and could use some help. I find there is a rename processor, is the syntax below the correct way to accomplish this?
{
"rename": {
"field": "content",
"target_field": "mycontent"
}
}
Many thanks!