# Filebeat - logstash new indexs are created without template

**URL:** <https://discuss.elastic.co/t/filebeat-logstash-new-indexs-are-created-without-template/210241>\
**Category:** Logstash\
**Tags:** ilm-index-lifecycle-management\
**Created:** [December 2, 2019, 8:35pm UTC](https://discuss.elastic.co/t/filebeat-logstash-new-indexs-are-created-without-template/210241 "2019-12-02T20:35:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sjap](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@Sjap](https://discuss.elastic.co/u/Sjap)\
**Post date:** [December 2, 2019, 8:35pm UTC](https://discuss.elastic.co/t/filebeat-logstash-new-indexs-are-created-without-template/210241/1 "2019-12-02T20:35:29Z")

</div>

Hi Everybody,

I'm trying to use Logstash for all my filebeat nodes with ILM enabled and with ingest-pipelines.

New indexes are created as 'filebeat-7.4.2' but where is no ILM enabled. - It looks like the indexes not are created with the filebeat-7.4.2 template in elasticsearch since the index also only have 1 shard.

My logstash elasticsearch output config:

elasticsearch {  
hosts =\> "[http://elastic-logs-1:9200](http://elastic-logs-1:9200)"  
manage\_template =\> false  
index =\> "%{[@metadata][beat]}-%{[@metadata][version]}"  
pipeline =\> "%{[@metadata][pipeline]}"  
sniffing =\> true  
}

Does anybody have an idea of what i'm missing regarding this?

---

<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:** [December 30, 2019, 8:35pm UTC](https://discuss.elastic.co/t/filebeat-logstash-new-indexs-are-created-without-template/210241/2 "2019-12-30T20:35:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
