# Machine Learning Annotation Cleanup

**URL:** <https://discuss.elastic.co/t/machine-learning-annotation-cleanup/201660>\
**Category:** Kibana\
**Created:** [September 30, 2019, 2:30pm UTC](https://discuss.elastic.co/t/machine-learning-annotation-cleanup/201660 "2019-09-30T14:30:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![willemdh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/willemdh/32/16922_2.png) [@willemdh](https://discuss.elastic.co/u/willemdh)\
**Post date:** [September 30, 2019, 2:30pm UTC](https://discuss.elastic.co/t/machine-learning-annotation-cleanup/201660/1 "2019-09-30T14:30:05Z")

</div>

Hello,

It would be nice if there was some way to clean up ml job annotations in bulk from the ml gui.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/b/db0922185fc6747435ef73c5314b7ab19e633541.png)

Tx

Willem

---

<div class="post-metadata">

**Author:** ![Hendrik\_Muhs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hendrik_muhs/32/25802_2.png) [@Hendrik\_Muhs](https://discuss.elastic.co/u/Hendrik_Muhs)\
**Post date:** [October 1, 2019, 7:08am UTC](https://discuss.elastic.co/t/machine-learning-annotation-cleanup/201660/2 "2019-10-01T07:08:45Z")

</div>

Hi,

Annotations are stored in a separate index and can be accessed using the alias `.ml-annotations-read` and `.ml-annotations-write` with standard Elasticsearch APIs. For bulk deletes I suggest [Delete by Query](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html).

There is currently no support for deleting annotations via the UI. I will add your request to the [corresponding issue](https://github.com/elastic/kibana/issues/25856).

Thank you for your feedback!

---

<div class="post-metadata">

**Author:** ![willemdh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/willemdh/32/16922_2.png) [@willemdh](https://discuss.elastic.co/u/willemdh)\
**Post date:** [October 1, 2019, 9:26am UTC](https://discuss.elastic.co/t/machine-learning-annotation-cleanup/201660/3 "2019-10-01T09:26:07Z")

</div>

@Hendrik_Muhs And thank you for considering this option

---

<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:** [October 29, 2019, 9:26am UTC](https://discuss.elastic.co/t/machine-learning-annotation-cleanup/201660/4 "2019-10-29T09:26:11Z")

</div>

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