# Can I delete the kibana\_task\_manager indices

**URL:** https://discuss.elastic.co/t/can-i-delete-the-kibana-task-manager-indices/225445
**Category:** Kibana
**Created:** [March 27, 2020, 4:46pm UTC](https://discuss.elastic.co/t/can-i-delete-the-kibana-task-manager-indices/225445 "2020-03-27T16:46:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dao](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@dao](https://discuss.elastic.co/u/dao)
#### Post date: [March 27, 2020, 4:46pm UTC](https://discuss.elastic.co/t/can-i-delete-the-kibana-task-manager-indices/225445/1 "2020-03-27T16:46:57Z")

</div>

It is not clear on what those index are storing (can see some maps and lens related documents)

Is it possible to delete them to limit my shards? what would be the consequences?

---

<div class="post-metadata">

### Author: ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)
#### Post date: [March 27, 2020, 5:04pm UTC](https://discuss.elastic.co/t/can-i-delete-the-kibana-task-manager-indices/225445/2 "2020-03-27T17:04:11Z")

</div>

Some background tasks in Kibana happen on a schedule, e.g. once a day. The component managing these tasks is called the task manager. It uses special indices in Elasticsearch to store the queue of tasks and some meta information. You can find more information here: [https://github.com/elastic/kibana/issues/23632](https://github.com/elastic/kibana/issues/23632)

If you are talking about multiple indices, are you referring to `.kibana_task_manager_1`, `.kibana_task_manager_2` and so on? If that's the case, those are generated when upgrading kibana - the `.kibana_task_manager` always points to the active one, so it's safe to delete the others.

Even if you are deleting the active index, Kibana will re-create it because it needs it to function internally.

To get rid of it, you could theoretically disable the task manager via `xpack.task_manager.enabled: false` - but will trigger a cascade of other plugins which also need to get disabled now because they rely on task manager.

I definitely recommend leaving it in place - like the `.kibana` index it's an essential part of Kibanas functionality.

---

<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: [April 24, 2020, 5:04pm UTC](https://discuss.elastic.co/t/can-i-delete-the-kibana-task-manager-indices/225445/3 "2020-04-24T17:04:14Z")

</div>

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