# Filebeat 7.4v does not pick up the index templates provided in filebeat.yml

**URL:** <https://discuss.elastic.co/t/filebeat-7-4v-does-not-pick-up-the-index-templates-provided-in-filebeat-yml/214982>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 14, 2020, 11:20am UTC](https://discuss.elastic.co/t/filebeat-7-4v-does-not-pick-up-the-index-templates-provided-in-filebeat-yml/214982 "2020-01-14T11:20:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sherlock\_H](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@Sherlock\_H](https://discuss.elastic.co/u/Sherlock_H)\
**Post date:** [January 14, 2020, 11:20am UTC](https://discuss.elastic.co/t/filebeat-7-4v-does-not-pick-up-the-index-templates-provided-in-filebeat-yml/214982/1 "2020-01-14T11:20:34Z")

</div>

Hi Team,

I have recently upgraded filebeat to 7.4v .  
I have setup.ilm.enabled: true in filebeat.yml but it does not seem to pick up the index template that i have provided in filebeat.yml, and instead it uses the default index template and index pattern. What configuration should I change or add to make filebeat pickup the templates and patterns that I have provided?

Any help in this regard is appreciated.

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [January 14, 2020, 4:55pm UTC](https://discuss.elastic.co/t/filebeat-7-4v-does-not-pick-up-the-index-templates-provided-in-filebeat-yml/214982/2 "2020-01-14T16:55:21Z")

</div>

Could you please share your configuration formatted using `</>`?

---

<div class="post-metadata">

**Author:** ![Sherlock\_H](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@Sherlock\_H](https://discuss.elastic.co/u/Sherlock_H)\
**Post date:** [January 16, 2020, 5:24am UTC](https://discuss.elastic.co/t/filebeat-7-4v-does-not-pick-up-the-index-templates-provided-in-filebeat-yml/214982/3 "2020-01-16T05:24:50Z")

</div>

Following is the configuration i've used

filebeat.inputs:

- type: log  
enabled: true  
paths:
- /es\_storage/logstash/logs/logstash-plain.log  
multiline.pattern: '^['  
multiline.negate: true  
multiline.match: after  
#==================== Elasticsearch template setting ==========================  
setup.template.enabled: true  
setup.template.settings:  
index.number\_of\_shards: 1  
setup.template.name: logstash\_logs\_template  
setup.template.pattern: test\_logs\_filebeat\_\*  
#============================== Kibana =====================================  
setup.kibana:  
host: "[https://hostname:5611](https://hostname:5611)"

#-------------------------- Elasticsearch output ------------------------------  
output.elasticsearch:  
hosts: ["[https://hostname:9211](https://hostname:9211)"]  
ssl.certificate\_authorities: [""]  
index: "test\_logs\_filebeat\_hostname\_%{+yyyy.MM.dd}"  
username: {USR} password: {PWD}  
protocol: "https"

#============================================================================  
logging.level: INFO  
logging.to\_files: true  
logging.files:  
path: /filebeat/logs/  
name: filebeatlogs  
keepfiles: 7  
permissions: 0600  
#============================== X-Pack Monitoring ===============================  
xpack.monitoring.enabled: true  
#================================= Migration ==================================

# This allows to enable 6.7 migration aliases

migration.6\_to\_7.enabled: true  
setup.ilm.enabled: true

---

<div class="post-metadata">

**Author:** ![kumarabhi](https://avatars.discourse-cdn.com/v4/letter/k/6a8cbe/32.png) [@kumarabhi](https://discuss.elastic.co/u/kumarabhi)\
**Post date:** [January 21, 2020, 8:06pm UTC](https://discuss.elastic.co/t/filebeat-7-4v-does-not-pick-up-the-index-templates-provided-in-filebeat-yml/214982/4 "2020-01-21T20:06:17Z")

</div>

> [@Filebeat 7.5.1 Missing a step for custom index names config?](https://discuss.elastic.co/t/filebeat-7-5-1-missing-a-step-for-custom-index-names-config/215044):
>
> I have the following set it my filebeat.yml config file, which should allow me to see dev-\* index in kibana. However these are still showing as filebeat-\*. Is there something Im missing based on the docs and the reference file on install I should have everything set correctly. filebeat.inputs: - type: log enabled: true paths: - /var/log/\*.log filebeat.config.modules: path: ${path.config}/modules.d/\*.yml reload.enabled: false output.elasticsearch: hosts: ["my\_es\_host\_ip:9…

`setup.ilm.enabled: false`

---

<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:** [February 18, 2020, 8:06pm UTC](https://discuss.elastic.co/t/filebeat-7-4v-does-not-pick-up-the-index-templates-provided-in-filebeat-yml/214982/5 "2020-02-18T20:06:21Z")

</div>

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