# Reindexing of .Kibana made all the dashboards disappear

**URL:** <https://discuss.elastic.co/t/reindexing-of-kibana-made-all-the-dashboards-disappear/173711>\
**Category:** Kibana\
**Created:** [March 25, 2019, 9:51am UTC](https://discuss.elastic.co/t/reindexing-of-kibana-made-all-the-dashboards-disappear/173711 "2019-03-25T09:51:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)\
**Post date:** [March 25, 2019, 9:51am UTC](https://discuss.elastic.co/t/reindexing-of-kibana-made-all-the-dashboards-disappear/173711/1 "2019-03-25T09:51:05Z")

</div>

Hi-  
I made a mistake while upgrading the Kibana ; I had followed the steps to reindex the .kibana to .kibana-6 even though am in the same version (6.x) ☹ , and which made all my dashboards to disappear.

I have tried reindxing back to .kibana, which throws the below error message:

query:

```auto
POST /_reindex
{
  "source": {
    "index": ".kibana-6"
  },
  "dest": {
    "index": ".kibana"
  }
}

```

Response:

```auto
 "error": {
    "root_cause": [
      {
        "type": "action_request_validation_exception",
        "reason": "Validation Failed: 1: reindex cannot write into an index its reading from [.kibana-6];"
      }
    ],
    "type": "action_request_validation_exception",
    "reason": "Validation Failed: 1: reindex cannot write into an index its reading from [.kibana-6];"
  },
  "status": 400
}

```

Please help me out. Thanks !

---

<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:** [March 26, 2019, 12:57am UTC](https://discuss.elastic.co/t/reindexing-of-kibana-made-all-the-dashboards-disappear/173711/2 "2019-03-26T00:57:16Z")

</div>

Did you keep the old index?

---

<div class="post-metadata">

**Author:** ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)\
**Post date:** [March 26, 2019, 12:57am UTC](https://discuss.elastic.co/t/reindexing-of-kibana-made-all-the-dashboards-disappear/173711/3 "2019-03-26T00:57:59Z")

</div>

@warkolm - yes, I did.

---

<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:** [March 26, 2019, 12:58am UTC](https://discuss.elastic.co/t/reindexing-of-kibana-made-all-the-dashboards-disappear/173711/4 "2019-03-26T00:58:41Z")

</div>

Ok, I think the `.kibana` "index" is really an alias. So you might be able to change it to point to the original index.

---

<div class="post-metadata">

**Author:** ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)\
**Post date:** [March 26, 2019, 12:59am UTC](https://discuss.elastic.co/t/reindexing-of-kibana-made-all-the-dashboards-disappear/173711/5 "2019-03-26T00:59:55Z")

</div>

Could you please help me how do I do that?  
Thanks.

---

<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:** [March 26, 2019, 3:08am UTC](https://discuss.elastic.co/t/reindexing-of-kibana-made-all-the-dashboards-disappear/173711/6 "2019-03-26T03:08:55Z")

</div>

[https://www.elastic.co/guide/en/elasticsearch/reference/6.6/indices-aliases.html](https://www.elastic.co/guide/en/elasticsearch/reference/6.6/indices-aliases.html) has the details, but you want to do something like;

```auto
POST /_aliases
{
    "actions" : [
        { "remove" : { "index" : ".kibana-$currentone", "alias" : ".kibana" } },
        { "add" : { "index" : ".kibana-$oldone", "alias" : ".kibana" } }
    ]
}

```

Just replace `$currentone` and `$oldone` in the example above to match the name of the underlying indices.

---

<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 23, 2019, 3:09am UTC](https://discuss.elastic.co/t/reindexing-of-kibana-made-all-the-dashboards-disappear/173711/7 "2019-04-23T03:09:01Z")

</div>

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