# Setting up multiple ILM policies on a filebeat with multiple indices as its output

**URL:** <https://discuss.elastic.co/t/setting-up-multiple-ilm-policies-on-a-filebeat-with-multiple-indices-as-its-output/210263>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [December 3, 2019, 12:40am UTC](https://discuss.elastic.co/t/setting-up-multiple-ilm-policies-on-a-filebeat-with-multiple-indices-as-its-output/210263 "2019-12-03T00:40:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel\_a](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniel_a/32/48390_2.png) [@daniel\_a](https://discuss.elastic.co/u/daniel_a)\
**Post date:** [December 3, 2019, 12:40am UTC](https://discuss.elastic.co/t/setting-up-multiple-ilm-policies-on-a-filebeat-with-multiple-indices-as-its-output/210263/1 "2019-12-03T00:40:48Z")

</div>

I've been trying to set up ILM policies on a filebeat which has a module enabled for additional data source to process. So, I'll need to apply two different policies to two different indexes on the same filebeat.

ILM policy names:

1. filebeat-7.4.2 \>\> this is the native one used by default by a filebeat.

2. vpc\_flow-policy \>\> a custom policy for flow logs.

Where should I add ILM configurations which would only apply to vpc\_flow-\* indexes and not filebeat-\* ones? I already created ILM in Kibana.

--Thanks

---

<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:** [December 31, 2019, 12:43am UTC](https://discuss.elastic.co/t/setting-up-multiple-ilm-policies-on-a-filebeat-with-multiple-indices-as-its-output/210263/2 "2019-12-31T00:43:42Z")

</div>

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