# Unknown setting \[index.lifecycle.name\] please check that any required plugins

**URL:** <https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [May 8, 2019, 4:22am UTC](https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091 "2019-05-08T04:22:27Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandukreddi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chandukreddi/32/29241_2.png) [@chandukreddi](https://discuss.elastic.co/u/chandukreddi)\
**Post date:** [May 8, 2019, 4:22am UTC](https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091/1 "2019-05-08T04:22:27Z")

</div>

Hello Team,

I am exploring ILM option but I am running into below error, can anyone shade some light?

following below doc:  
[https://www.elastic.co/guide/en/elasticsearch/reference/6.7/index-lifecycle-error-handling.html](https://www.elastic.co/guide/en/elasticsearch/reference/6.7/index-lifecycle-error-handling.html)

PUT /ilm/policy/shrink-the-index  
{  
"policy": {  
"phases": {  
"warm": {  
"min\_age": "5d",  
"actions": {  
"shrink": {  
"number\_of\_shards": 4  
}  
}  
}  
}  
}  
}

PUT /myindex  
{  
"settings": {  
"index.number\_of\_shards": 2,  
"index.lifecycle.name": "shrink-the-index"  
}  
}  
**ERROR:**  
{  
"error": {  
"root\_cause": [  
{  
"type": "illegal\_argument\_exception",  
"reason": "unknown setting [index.lifecycle.name] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"  
}  
],  
"type": "illegal\_argument\_exception",  
"reason": "unknown setting [index.lifecycle.name] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"  
},  
"status": 400  
}

**Cluster details:**  
[elk@elk2 templates]$ curl -XGET [http://10.1.28.176:9200](http://10.1.28.176:9200)  
{  
"name" : "elk-2",  
"cluster\_name" : "elk-test",  
"cluster\_uuid" : "Q79e7lNpS56fzQJvQ8BLvQ",  
"version" : {  
"number" : "6.7.1",  
"build\_flavor" : "oss",  
"build\_type" : "tar",  
"build\_hash" : "2f32220",  
"build\_date" : "2019-04-02T15:59:27.961366Z",  
"build\_snapshot" : false,  
"lucene\_version" : "7.7.0",  
"minimum\_wire\_compatibility\_version" : "5.6.0",  
"minimum\_index\_compatibility\_version" : "5.0.0"  
},  
"tagline" : "You Know, for Search"  
}

Thanks  
Chandra

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 8, 2019, 4:48am UTC](https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091/2 "2019-05-08T04:48:10Z")

</div>

ILM is part of the free Basic license, but you are running the OSS version which doesn't contain this.

---

<div class="post-metadata">

**Author:** ![chandukreddi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chandukreddi/32/29241_2.png) [@chandukreddi](https://discuss.elastic.co/u/chandukreddi)\
**Post date:** [May 8, 2019, 4:51pm UTC](https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091/3 "2019-05-08T16:51:58Z")

</div>

How about HOT & WARM architecture features?

And I really appreciate if you can give example to write data into HOT node using templates from logstash.

I was looking at this document, is this available in OSS?

> **[Elasticsearch Hot Warm Architecture](https://www.elastic.co/blog/hot-warm-architecture-in-elasticsearch-5-x)**
>
> A recommendation for using Elasticsearch 5.x for larger time-data analytics: indices & a tiered architecture with 3 different types of nodes, called “Hot-Warm”.

Thank  
Chandra

---

<div class="post-metadata">

**Author:** ![chandukreddi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chandukreddi/32/29241_2.png) [@chandukreddi](https://discuss.elastic.co/u/chandukreddi)\
**Post date:** [May 8, 2019, 8:06pm UTC](https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091/4 "2019-05-08T20:06:43Z")

</div>

Can anyone help me on this?

Thanks  
Chandra

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 8, 2019, 8:35pm UTC](https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091/5 "2019-05-08T20:35:31Z")

</div>

Read [this](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) and specifically the "Also be patient" part.

It's fine to answer on your own thread after 2 or 3 days (not including weekends) if you don't have an answer.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 9, 2019, 12:50am UTC](https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091/6 "2019-05-09T00:50:51Z")

</div>

Is there a reason you don't want to run with a Basic license?

You can still setup hot/warm as per that blog post, but ILM is definitely the preferred path.

---

<div class="post-metadata">

**Author:** ![chandukreddi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chandukreddi/32/29241_2.png) [@chandukreddi](https://discuss.elastic.co/u/chandukreddi)\
**Post date:** [May 9, 2019, 4:03pm UTC](https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091/7 "2019-05-09T16:03:34Z")

</div>

@dadoonet.. thanks will keep in mind 🙂

Hi @warkolm, basic licence is free?

Thanks  
Chandra

---

<div class="post-metadata">

**Author:** ![chandukreddi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chandukreddi/32/29241_2.png) [@chandukreddi](https://discuss.elastic.co/u/chandukreddi)\
**Post date:** [May 9, 2019, 4:08pm UTC](https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091/8 "2019-05-09T16:08:25Z")

</div>

Hi Warkolm,

and where can I download free basic software? I don't see any option to download free basic version, all I see is elasticsearch/beta/alpha/oss

Thanks  
Chandra

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 9, 2019, 4:17pm UTC](https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091/9 "2019-05-09T16:17:58Z")

</div>

The default version contains a basic license.  
Just download the default version from [https://www.elastic.co/downloads/elasticsearch](https://www.elastic.co/downloads/elasticsearch)

---

<div class="post-metadata">

**Author:** ![chandukreddi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chandukreddi/32/29241_2.png) [@chandukreddi](https://discuss.elastic.co/u/chandukreddi)\
**Post date:** [May 9, 2019, 5:02pm UTC](https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091/10 "2019-05-09T17:02:55Z")

</div>

Thanks @dadoonet but after I install default one I remember it was saying as trial version and it will expire after 14 days or so.

Do I have to purchase licence for basic? because in about 2 months we are planing to PROD.

Thanks  
Chandra

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 9, 2019, 5:49pm UTC](https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091/11 "2019-05-09T17:49:08Z")

</div>

You don't need to do anything to activate a basic license.  
But if you activated a trial (30 days) then you need to revert to basic (you can do that from Kibana or using API) or buy a license if you want to use one or many features which are available under the commercial license.

---

<div class="post-metadata">

**Author:** ![chandukreddi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chandukreddi/32/29241_2.png) [@chandukreddi](https://discuss.elastic.co/u/chandukreddi)\
**Post date:** [May 9, 2019, 6:42pm UTC](https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091/12 "2019-05-09T18:42:01Z")

</div>

Thanks @dadoonet.. Appreciate your help! will install basic then.

---

<div class="post-metadata">

**Author:** ![chandukreddi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chandukreddi/32/29241_2.png) [@chandukreddi](https://discuss.elastic.co/u/chandukreddi)\
**Post date:** [May 9, 2019, 9:32pm UTC](https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091/13 "2019-05-09T21:32:24Z")

</div>

I noticed one more thing, I am not sure if I can ask this question in same ticket or you want me to open different ticket for this.

**This is my node config**

**Node-1**  
"cluster\_name" : "elk-test",  
"nodes" : {  
"szZvzywsRuGCTEzXhLU2-Q" : {  
"name" : "elk-1",  
"transport\_address" : "10.1.28.175:9300",  
"host" : "10.1.28.175",  
"ip" : "10.1.28.175",  
"version" : "6.7.1",  
"build\_flavor" : "oss",  
"build\_type" : "tar",  
"build\_hash" : "2f32220",  
"total\_indexing\_buffer" : 421645516,  
"roles" : [  
"master",  
"data",  
"ingest"  
],  
"attributes" : {  
"data" : "hot"  
},  
"settings" : {  
"cluster" : {  
"name" : "elk-test"  
},  
"node" : {  
"attr" : {  
"data" : "hot"  
},  
"name" : "elk-1"  
},  
"path" : {  
"data" : [  
"/opt/data/elastic",  
"/home/elk/opt1/data/elastic\_1"  
],  
**Node-2**  
XZlIzGZkSe2BE\_4LKNaOcQ" : {  
"name" : "elk-2",  
"transport\_address" : "10.1.28.176:9300",  
"host" : "10.1.28.176",  
"ip" : "10.1.28.176",  
"version" : "6.7.1",  
"build\_flavor" : "oss",  
"build\_type" : "tar",  
"build\_hash" : "2f32220",  
"total\_indexing\_buffer" : 421645516,  
"roles" : [  
"master",  
"data",  
"ingest"  
],  
"attributes" : {  
"data" : "warm"  
},  
"settings" : {  
"cluster" : {  
"name" : "elk-test"  
},  
"node" : {  
"attr" : {  
"data" : "warm"  
},  
"name" : "elk-2"  
},  
"path" : {  
"data" : [  
"/opt/data/elastic",  
"/home/elk/opt1/data/elastic\_1"  
],

**My Template:**

[elk@elk2 44SXSucURSKaGSVxmoq1Uw]$ cat /opt/logstash/config/templates/swift\_proxy\_log\_sizing.json  
{  
"template": "swift\_proxy\_logs",  
"index\_patterns": ["swift-proxy-logs-\*"],  
"settings": {  
"index.routing.allocation.require.box\_type": "hot",  
"index.refresh\_interval": "5s",  
"index.codec": "best\_compression",  
"number\_of\_shards": 5,  
"number\_of\_replicas": 0  
},  
"aliases": {  
"swift\_proxy\_log\_write\_alias": {}  
}  
}  
**questions:**

_1. I am writing into HOT node index swift-proxy-logs- which is elk-1 as per my template config but I see data is writing into WARM node as well, anything I am doing wrong here?_\*

**HOT Node: elk-1**  
[root@elk1 44SXSucURSKaGSVxmoq1Uw]# ll  
total 0  
drwxrwxr-x. 5 elk elk 46 May 9 13:05 0  
drwxrwxr-x. 5 elk elk 46 May 9 13:05 2  
drwxrwxr-x. 2 elk elk 23 May 9 13:06 \_state  
[root@elk1 44SXSucURSKaGSVxmoq1Uw]# cd /home/elk/opt1/data/elastic\_1/nodes/0/indices/44SXSucURSKaGSVxmoq1Uw  
[root@elk1 44SXSucURSKaGSVxmoq1Uw]# ll  
total 0  
drwxrwxr-x. 5 elk elk 46 May 9 13:05 4  
drwxrwxr-x. 2 elk elk 23 May 9 13:06 \_state  
[root@elk1 44SXSucURSKaGSVxmoq1Uw]# du -sh /opt/data/elastic/nodes/0/indices/44SXSucURSKaGSVxmoq1Uw;du -sh /home/elk/opt1/data/elastic\_1/nodes/0/indices/44SXSucURSKaGSVxmoq1Uw  
**1.6G** /opt/data/elastic/nodes/0/indices/44SXSucURSKaGSVxmoq1Uw  
**785M** /home/elk/opt1/data/elastic\_1/nodes/0/indices/44SXSucURSKaGSVxmoq1Uw

**WARM Node: elk-2**  
[elk@elk2 44SXSucURSKaGSVxmoq1Uw] ll total 0 drwxrwxr-x. 5 elk elk 46 May 9 13:05 1 drwxrwxr-x. 2 elk elk 23 May 9 13:06 \_state [elk@elk2 44SXSucURSKaGSVxmoq1Uw] cd /home/elk/opt1/data/elastic\_1/nodes/0/indices/44SXSucURSKaGSVxmoq1Uw  
[elk@elk2 44SXSucURSKaGSVxmoq1Uw] ll total 0 drwxrwxr-x. 5 elk elk 46 May 9 13:05 3 drwxrwxr-x. 2 elk elk 23 May 9 13:06 \_state [elk@elk2 44SXSucURSKaGSVxmoq1Uw] du -sh /opt/data/elastic/nodes/0/indices/44SXSucURSKaGSVxmoq1Uw;du -sh /home/elk/opt1/data/elastic\_1/nodes/0/indices/44SXSucURSKaGSVxmoq1Uw  
**785M** /opt/data/elastic/nodes/0/indices/44SXSucURSKaGSVxmoq1Uw  
**785M** /home/elk/opt1/data/elastic\_1/nodes/0/indices/44SXSucURSKaGSVxmoq1Uw

**1. if you add up all the above index shards size its coming around 3 GB but cat index showing only 1.8 GB, why?**  
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size  
green open swift-proxy-logs-2019.05.09-1 44SXSucURSKaGSVxmoq1Uw 5 0 3357698 0 1.8gb 1.8gb

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 9, 2019, 9:46pm UTC](https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091/14 "2019-05-09T21:46:43Z")

</div>

It's better to create a new topic on that question, as it's a totally different problem 😉

---

<div class="post-metadata">

**Author:** ![chandukreddi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chandukreddi/32/29241_2.png) [@chandukreddi](https://discuss.elastic.co/u/chandukreddi)\
**Post date:** [May 9, 2019, 9:47pm UTC](https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091/15 "2019-05-09T21:47:39Z")

</div>

No worries will do that, Thanks @warkolm

---

<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:** [June 6, 2019, 9:47pm UTC](https://discuss.elastic.co/t/unknown-setting-index-lifecycle-name-please-check-that-any-required-plugins/180091/16 "2019-06-06T21:47:55Z")

</div>

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