# How to delete apm entries per service

**URL:** <https://discuss.elastic.co/t/how-to-delete-apm-entries-per-service/246550>\
**Category:** APM\
**Tags:** server\
**Created:** [August 27, 2020, 5:41am UTC](https://discuss.elastic.co/t/how-to-delete-apm-entries-per-service/246550 "2020-08-27T05:41:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [August 27, 2020, 6:31am UTC](https://discuss.elastic.co/t/how-to-delete-apm-entries-per-service/246550/2 "2020-08-27T06:31:40Z")

</div>

I think technically you _could_ do that with Curator, by using the Reindex action, but I don't think it would be the ideal approach.

Instead, I'd recommend that you:

- split events into service-specific indices (see [How to create index for each service?](https://discuss.elastic.co/t/how-to-create-index-for-each-service/242821))
- create service-specific ILM policies ([https://www.elastic.co/guide/en/apm/server/current/ilm.html#custom-ilm-policy](https://www.elastic.co/guide/en/apm/server/current/ilm.html#custom-ilm-policy))

---

_[View the full topic](https://discuss.elastic.co/t/how-to-delete-apm-entries-per-service/246550)._
