The best way would be to create an index template, which defines the mappings when the index is first created. The template you linked to is an example, though from a very old version of Logstash. This may be a better starting point.
The best way would be to create an index template, which defines the mappings when the index is first created. The template you linked to is an example, though from a very old version of Logstash. This may be a better starting point.
© 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.