# Indices have lifecycle errors

**URL:** <https://discuss.elastic.co/t/indices-have-lifecycle-errors/223434>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [March 13, 2020, 1:49am UTC](https://discuss.elastic.co/t/indices-have-lifecycle-errors/223434 "2020-03-13T01:49:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhimasjoe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dhimasjoe/32/46835_2.png) [@dhimasjoe](https://discuss.elastic.co/u/dhimasjoe)\
**Post date:** [March 13, 2020, 1:49am UTC](https://discuss.elastic.co/t/indices-have-lifecycle-errors/223434/1 "2020-03-13T01:49:10Z")

</div>

# I set up ELK in centos server and use beats as a log colector. this is my network : centos 7 : instaled ELK with ip (ex: 192.168.1.10) windows server 2012 r2 : instaled Web server (iis server) with ip (192.168.2.10) windows server 2012 r2: instaled sql server 2014 with ip (192.168.3.10)

# i want to use logstash as a output for all beats .. firts i setup winlogbeat, this is my setup up :

# my logstash config : output.logstash: hosts: ["192.168.1.10:5044"] my ilm setup : setup.ilm.enabled: auto setup.ilm.rollover\_alias: "winlogbeat" setup.ilm.pattern: "{now/d}-000001" setup.ilm.policy\_name: "winlogbeat\_policy"

after that i run use this :  
.\winlogbeat.exe setup -E output.logstash.enabled=false -E output.elasticsearch.hosts=['192.168.1.10:9200'] -E setup.kibana.host=192.168.1.10:5601

===================================  
all good work , BUT after 5-6 ahour leter IN elasticsearch , i get some error

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

thanks for help

---

<div class="post-metadata">

**Author:** ![dhimasjoe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dhimasjoe/32/46835_2.png) [@dhimasjoe](https://discuss.elastic.co/u/dhimasjoe)\
**Post date:** [March 13, 2020, 2:10am UTC](https://discuss.elastic.co/t/indices-have-lifecycle-errors/223434/2 "2020-03-13T02:10:21Z")

</div>

# Set up ELK in centos server and use beats as a log colector.

this is my network :  
centos 7 : instaled ELK with ip (ex: 192.168.1.10)  
windows server 2012 r2 : instaled Web server (iis server) with ip (192.168.2.10)  
windows server 2012 r2: instaled sql server 2014 with ip (192.168.3.10)

# i want to use logstash as a output for all beats ..

firts i setup winlogbeat,  
this is my setup up :  
my logstash config :

- output.logstash:  
hosts: ["192.168.1.10:5044"]  
my ilm setup :  
setup.ilm.enabled: auto  
setup.ilm.rollover\_alias: "winlogbeat"  
setup.ilm.pattern: "{now/d}-000001"  
setup.ilm.policy\_name: "winlogbeat\_policy"

# after that i run use this :

.\winlogbeat.exe setup -E output.logstash.enabled=false -E output.elasticsearch.hosts=['192.168.1.10:9200'] -E setup.kibana.host=192.168.1.10:5601

all good work , BUT after 5-6 ahour leter IN elasticsearch , i get some error

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

i check ilm and get the result error

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/9/69883046427b6ec57fab33e32ceecb7499a4ab7a.png)

thanks for help

---

<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:** [April 10, 2020, 2:10am UTC](https://discuss.elastic.co/t/indices-have-lifecycle-errors/223434/3 "2020-04-10T02:10:34Z")

</div>

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