# How to access the system indices like .kibana\* indices in the elasticsearch

**URL:** <https://discuss.elastic.co/t/how-to-access-the-system-indices-like-kibana-indices-in-the-elasticsearch/297779>\
**Category:** Kibana\
**Created:** [February 21, 2022, 3:52pm UTC](https://discuss.elastic.co/t/how-to-access-the-system-indices-like-kibana-indices-in-the-elasticsearch/297779 "2022-02-21T15:52:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Usman18](https://avatars.discourse-cdn.com/v4/letter/u/0ea827/32.png) [@Usman18](https://discuss.elastic.co/u/Usman18)\
**Post date:** [February 21, 2022, 3:52pm UTC](https://discuss.elastic.co/t/how-to-access-the-system-indices-like-kibana-indices-in-the-elasticsearch/297779/1 "2022-02-21T15:52:53Z")

</div>

In our project, we have a service that takes the backup of different system indices like .kibana\* indices. When I access them using the rest API, I am getting the following deprecation warning

```auto
{"type": "deprecation.elasticsearch", "timestamp": "2022-02-17T10:04:04,446Z", "level": "DEPRECATION", "component": "o.e.d.c.m.IndexNameExpressionResolver", "cluster.name": "project-1", "node.name": "elasticsearch", "message": "this request accesses system indices: [.kibana_7.15.2_001], but in a future major version, direct access to system indices will be prevented by default", "key": "open_system_index_access", "cluster.uuid": "47qJK-ibTqS2U83rHQdWiQ", "node.id": "rtXy8ASwQAGKO7pFmWZY9Q" }

```

I am using kibana 7.15.2 and Elasticsearch 7.15.2 but when we shall upgrade Elasticsearch to version 8 i shall not be able to access the system indices using this API

```auto
"https://localhost:9200/_cat/indices/.kibana*?h=index"

```

Can anyone tell me how to solve this problem?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 21, 2022, 11:14pm UTC](https://discuss.elastic.co/t/how-to-access-the-system-indices-like-kibana-indices-in-the-elasticsearch/297779/2 "2022-02-21T23:14:54Z")

</div>

Why are you accessing these via the API?

---

<div class="post-metadata">

**Author:** ![Usman18](https://avatars.discourse-cdn.com/v4/letter/u/0ea827/32.png) [@Usman18](https://discuss.elastic.co/u/Usman18)\
**Post date:** [February 22, 2022, 1:04am UTC](https://discuss.elastic.co/t/how-to-access-the-system-indices-like-kibana-indices-in-the-elasticsearch/297779/3 "2022-02-22T01:04:41Z")

</div>

I want to take the backup of these indices. First of all, I fetch the names of all such indices using the rest API and then I am using elasticdump in order to take the backup of each such index so that I can store them in a particular folder.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [February 22, 2022, 1:06am UTC](https://discuss.elastic.co/t/how-to-access-the-system-indices-like-kibana-indices-in-the-elasticsearch/297779/4 "2022-02-22T01:06:05Z")

</div>

Perhaps use snapshot and restore?

> **[Snapshot and restore | Elasticsearch Guide \[8.0\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-restore.html)**

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 22, 2022, 2:08am UTC](https://discuss.elastic.co/t/how-to-access-the-system-indices-like-kibana-indices-in-the-elasticsearch/297779/5 "2022-02-22T02:08:09Z")

</div>

100% use snapshot, it's what it's designed for.

---

<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:** [March 22, 2022, 2:08am UTC](https://discuss.elastic.co/t/how-to-access-the-system-indices-like-kibana-indices-in-the-elasticsearch/297779/6 "2022-03-22T02:08:31Z")

</div>

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