# ILM filebeat create index by kubernetes namespace

**URL:** <https://discuss.elastic.co/t/ilm-filebeat-create-index-by-kubernetes-namespace/232852>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 15, 2020, 4:50pm UTC](https://discuss.elastic.co/t/ilm-filebeat-create-index-by-kubernetes-namespace/232852 "2020-05-15T16:50:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![melchiormoulin](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@melchiormoulin](https://discuss.elastic.co/u/melchiormoulin)\
**Post date:** [May 15, 2020, 4:50pm UTC](https://discuss.elastic.co/t/ilm-filebeat-create-index-by-kubernetes-namespace/232852/1 "2020-05-15T16:50:30Z")

</div>

Hello,  
What is the best practice to create index by kubernetes namespace with filebeat ILM please ?  
As it is not possible to put non static variable in `setup.ilm.rollover_alias`

---

<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 12, 2020, 4:50pm UTC](https://discuss.elastic.co/t/ilm-filebeat-create-index-by-kubernetes-namespace/232852/2 "2020-06-12T16:50:32Z")

</div>

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