the data like
how can change to like this
That is done by the dynamic field templates: https://www.elastic.co/guide/en/elasticsearch/reference/current/dynamic-templates.html
You need to look more into that. And if you need more help, I suggest asking in the Elasticsearch forum as more people there can help you with mappings.
© 2020. All Rights Reserved - Elasticsearch
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.