# Unable to create index pattern when using closed indices

**URL:** <https://discuss.elastic.co/t/unable-to-create-index-pattern-when-using-closed-indices/170893>\
**Category:** Kibana\
**Created:** [March 5, 2019, 12:14pm UTC](https://discuss.elastic.co/t/unable-to-create-index-pattern-when-using-closed-indices/170893 "2019-03-05T12:14:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![victor.nilsson](https://avatars.discourse-cdn.com/v4/letter/v/eb8c5e/32.png) [@victor.nilsson](https://discuss.elastic.co/u/victor.nilsson)\
**Post date:** [March 5, 2019, 12:14pm UTC](https://discuss.elastic.co/t/unable-to-create-index-pattern-when-using-closed-indices/170893/1 "2019-03-05T12:14:16Z")

</div>

Hi,

Today we tried to create a index pattern for a newly created index. However, we found that the process is taking incredibly long waiting for elasticsearch data. If i open up the developer tools of Chrome i can see that a error 400 appears, where the operation is complaining about closed indices.

 ![30](https://us1.discourse-cdn.com/elastic/original/3X/b/6/b654ce9d9c17064282b6231c748a7d133bdd7f6c.png)

How can we circumvent this when we are using closed indices? We have closed over 1000 indices so to open every one each time we create a new index pattern is not sustainable.

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [March 5, 2019, 8:06pm UTC](https://discuss.elastic.co/t/unable-to-create-index-pattern-when-using-closed-indices/170893/2 "2019-03-05T20:06:54Z")

</div>

Closed indices can not be used by Kibana. You can however, use [frozen](https://www.elastic.co/guide/en/elasticsearch/reference/6.6/freeze-index-api.html) indices with kibana.

---

<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 2, 2019, 8:07pm UTC](https://discuss.elastic.co/t/unable-to-create-index-pattern-when-using-closed-indices/170893/3 "2019-04-02T20:07:00Z")

</div>

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