# Hope ilm Indices support environment

**URL:** <https://discuss.elastic.co/t/hope-ilm-indices-support-environment/296451>\
**Category:** APM\
**Tags:** ilm-index-lifecycle-management, server\
**Created:** [February 7, 2022, 9:57am UTC](https://discuss.elastic.co/t/hope-ilm-indices-support-environment/296451 "2022-02-07T09:57:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddatsh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ddatsh/32/101457_2.png) [@ddatsh](https://discuss.elastic.co/u/ddatsh)\
**Post date:** [February 7, 2022, 9:57am UTC](https://discuss.elastic.co/t/hope-ilm-indices-support-environment/296451/1 "2022-02-07T09:57:15Z")

</div>

like  
apm-7.17.0-span-dev-000001  
apm-7.17.0-span-prod-000001

---

<div class="post-metadata">

**Author:** ![axw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/axw/32/28197_2.png) [@axw](https://discuss.elastic.co/u/axw)\
**Post date:** [February 8, 2022, 2:01am UTC](https://discuss.elastic.co/t/hope-ilm-indices-support-environment/296451/2 "2022-02-08T02:01:05Z")

</div>

Hi @ddatsh, welcome to the forum!

If you have a different APM Server for each environment, then you can set a suffix on your indices: [Custom index lifecycle management with APM Server | APM User Guide [7.17] | Elastic](https://www.elastic.co/guide/en/apm/guide/current/ilm.html#custom-ilm-index-suffix)

when using the Elastic Agent APM integration, you can create two policies with different namespaces, and follow these instructions to create customised ILM policies: [Index lifecycle management | APM User Guide [7.17] | Elastic](https://www.elastic.co/guide/en/apm/guide/current/ilm-how-to.html#data-streams-custom-policy)

---

<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:** [February 28, 2022, 10:01pm UTC](https://discuss.elastic.co/t/hope-ilm-indices-support-environment/296451/3 "2022-02-28T22:01:54Z")

</div>

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