The best thing is to do that in your application. Should not be hard.
But you can also use an ingest pipeline if the first solution does not work for you.
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.