# ILM Policy Update via filebeat.yml not functioning

**URL:** <https://discuss.elastic.co/t/ilm-policy-update-via-filebeat-yml-not-functioning/371294>\
**Category:** Beats\
**Tags:** ilm-index-lifecycle-management, filebeat\
**Created:** [December 2, 2024, 6:14am UTC](https://discuss.elastic.co/t/ilm-policy-update-via-filebeat-yml-not-functioning/371294 "2024-12-02T06:14:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![developer\_cloud](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/developer_cloud/32/134045_2.png) [@developer\_cloud](https://discuss.elastic.co/u/developer_cloud)\
**Post date:** [December 2, 2024, 6:14am UTC](https://discuss.elastic.co/t/ilm-policy-update-via-filebeat-yml-not-functioning/371294/1 "2024-12-02T06:14:24Z")

</div>

Hello, I have a filebeat.yml thats sending logs from my server to kibana. For the input streams configured in the filebeat.yml, there is also an ILM Policy enabled.

```auto
# ================================= ILM Configure ================================
setup.ilm.enabled: true
setup.ilm.rollover_alias: "filebeat-indices-ilm-policy-alis"
setup.ilm.pattern: "{now/w}-0001"
setup.ilm.policy_name: "filebeat-indices-ilm-policy"
setup.ilm.check_exists: true
setup.ilm.overwrite: true
setup.ilm.policy_file: "/etc/filebeat/ilm_policy.json"

```

I have the updated ilm\_policy.json present on the path to be picked up when the filebeat runs. But after filebeat gets executed, I don't see the updated ilm policy changes being reflected in kibana.

Can someone please help.

---

<div class="post-metadata">

**Author:** ![ashishtiwari1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashishtiwari1993/32/135241_2.png) [@ashishtiwari1993](https://discuss.elastic.co/u/ashishtiwari1993)\
**Post date:** [December 6, 2024, 12:09pm UTC](https://discuss.elastic.co/t/ilm-policy-update-via-filebeat-yml-not-functioning/371294/2 "2024-12-06T12:09:08Z")

</div>

Can you check whether its updated on Elasticsearch -

```auto
GET _ilm/policy/filebeat-indices-ilm-policy

```
