# Getting the Beats index template onto Elasticsearch

**URL:** <https://discuss.elastic.co/t/getting-the-beats-index-template-onto-elasticsearch/104782>\
**Category:** Beats\
**Created:** [October 21, 2017, 9:58pm UTC](https://discuss.elastic.co/t/getting-the-beats-index-template-onto-elasticsearch/104782 "2017-10-21T21:58:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdanner](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@mdanner](https://discuss.elastic.co/u/mdanner)\
**Post date:** [October 21, 2017, 9:58pm UTC](https://discuss.elastic.co/t/getting-the-beats-index-template-onto-elasticsearch/104782/1 "2017-10-21T21:58:28Z")

</div>

When running the configuration

- metricbeat -\> elasticsearch

the index template (metricbeat.template.json) is automatically installed on Elasticsearch by the Metricbeat agent.

However, when running the configuration

- metricbeat -\> logstash -\> elasticsearch

the index template is not automatically installed on Elasticsearch.

What's the best method to automatically installed the correct index template from Logstash?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 11, 2017, 9:58pm UTC](https://discuss.elastic.co/t/getting-the-beats-index-template-onto-elasticsearch/104782/2 "2017-11-11T21:58:31Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
