I'm slightly confused — are we supposed to try it out for you or what is the specific question?
And yes, with dynamic mapping you can just add more fields to a document and they will be add with the default data types. But you could also extend the mapping manually if you prefer that.
Given that the instructions are in the Rename Processor, do I need to send an object payload in the PUT sample you've provided?
No, there are multiple ways. An index could have a default ingest pipeline that is being applied. Or if data is being sent from a Beat you could specify that there. But you need need to define in one way or another which pipeline (if any) to use.
Is it possible to rename the field across an entire index? At a guess, remove the: "_doc/:id".
No, that would require an _update_by_query or a full _reindex (both support ingest processors and scripts), but those are heavy operations since every change is a delete+ index operation in Lucene.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.