# Which security index do I keep?

**URL:** <https://discuss.elastic.co/t/which-security-index-do-i-keep/157771>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [November 21, 2018, 7:40pm UTC](https://discuss.elastic.co/t/which-security-index-do-i-keep/157771 "2018-11-21T19:40:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![planetvortex](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/planetvortex/32/31080_2.png) [@planetvortex](https://discuss.elastic.co/u/planetvortex)\
**Post date:** [November 21, 2018, 7:40pm UTC](https://discuss.elastic.co/t/which-security-index-do-i-keep/157771/1 "2018-11-21T19:40:29Z")

</div>

which .security index does the elastic stack use in 6.5?  
I have some that may be old legacy ones. Is there a way to see which is the main one?  
for example, I have .security-6 and .security

If .security is the main one, can I delete .security-6 without issue?

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [November 22, 2018, 12:48am UTC](https://discuss.elastic.co/t/which-security-index-do-i-keep/157771/2 "2018-11-22T00:48:45Z")

</div>

The simple answer is just don't mess with it.  
It's all handled internally and you don't need to do any maintenance on it.

The longer answer is that `.security` is an alias to `.security-6`. If you remove either of them you will break security.

---

<div class="post-metadata">

**Author:** ![planetvortex](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/planetvortex/32/31080_2.png) [@planetvortex](https://discuss.elastic.co/u/planetvortex)\
**Post date:** [November 27, 2018, 5:04pm UTC](https://discuss.elastic.co/t/which-security-index-do-i-keep/157771/3 "2018-11-27T17:04:31Z")

</div>

Ah, thank you, I didn't even consider that might have been done.

---

<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:** [December 25, 2018, 5:04pm UTC](https://discuss.elastic.co/t/which-security-index-do-i-keep/157771/4 "2018-12-25T17:04:33Z")

</div>

Closed on December 25, 2018, 5:04pm UTC

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