# Index template not working from Filebeat to ES

**URL:** <https://discuss.elastic.co/t/index-template-not-working-from-filebeat-to-es/202684>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 8, 2019, 1:58pm UTC](https://discuss.elastic.co/t/index-template-not-working-from-filebeat-to-es/202684 "2019-10-08T13:58:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ISR\_FY](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/isr_fy/32/55543_2.png) [@ISR\_FY](https://discuss.elastic.co/u/ISR_FY)\
**Post date:** [October 8, 2019, 1:58pm UTC](https://discuss.elastic.co/t/index-template-not-working-from-filebeat-to-es/202684/1 "2019-10-08T13:58:14Z")

</div>

Hi, team:  
I´ve found an issue in my config about the creation of index. In logs I can see this error:

 ![53](https://us1.discourse-cdn.com/elastic/original/3X/3/e/3e5a599e99d36a4140c62bd168cad6e8f64a2065.png)

But I have got configured this in filebeat.yml:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/d/dd3955cd1b5712b3f59677b429f72acffab5fda9.png)

Now I´ve updated to 7.4 the ELK but in 6.8 version the index was working fine. It`s like the configuration is not readed...

Something to help me please. I´ve tried everything.

---

<div class="post-metadata">

**Author:** ![ISR\_FY](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/isr_fy/32/55543_2.png) [@ISR\_FY](https://discuss.elastic.co/u/ISR_FY)\
**Post date:** [October 8, 2019, 2:08pm UTC](https://discuss.elastic.co/t/index-template-not-working-from-filebeat-to-es/202684/2 "2019-10-08T14:08:35Z")

</div>

In add I have the configuration in:  
/etc/filebeat/conf.d

Something like:

- type: log  
paths:

---

<div class="post-metadata">

**Author:** ![ISR\_FY](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/isr_fy/32/55543_2.png) [@ISR\_FY](https://discuss.elastic.co/u/ISR_FY)\
**Post date:** [October 8, 2019, 2:55pm UTC](https://discuss.elastic.co/t/index-template-not-working-from-filebeat-to-es/202684/3 "2019-10-08T14:55:14Z")

</div>

I´m working with 2 yml inside conf.d because I´ve taken 2 different logs:  
type: log  
paths:

- /opt/cdr/vem/cdr-csv/Master.csv  
tail\_files: true  
fields:  
cdr: freeswitch-master  
node: prod-freeswitch-01

json.keys\_under\_root: true  
json.add\_error\_key: true

and

- type: log  
enable: true  
paths:

Both are JSON format. For this I´ve sent directly to ES.

---

<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 5, 2019, 4:55pm UTC](https://discuss.elastic.co/t/index-template-not-working-from-filebeat-to-es/202684/4 "2019-11-05T16:55:26Z")

</div>

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