Your template is for indexes whose name matches the pattern logstash-* but you're pushing data to an index named ems so it won't use your template.
Your template is for indexes whose name matches the pattern logstash-* but you're pushing data to an index named ems so it won't use your template.
© 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.