# \[SOLVED\] Deleted index pattern, dashboards not working

**URL:** <https://discuss.elastic.co/t/solved-deleted-index-pattern-dashboards-not-working/197641>\
**Category:** Kibana\
**Created:** [September 2, 2019, 3:50am UTC](https://discuss.elastic.co/t/solved-deleted-index-pattern-dashboards-not-working/197641 "2019-09-02T03:50:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nnet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nnet/32/25982_2.png) [@nnet](https://discuss.elastic.co/u/nnet)\
**Post date:** [September 2, 2019, 3:50am UTC](https://discuss.elastic.co/t/solved-deleted-index-pattern-dashboards-not-working/197641/1 "2019-09-02T03:50:45Z")

</div>

Hi, I accidently deleted an index pattern, and dashboards relying on it no longer load.  
Using ELK 5.6.16

I tried [Get index pattern ID?](https://discuss.elastic.co/t/get-index-pattern-id/132598) but I get 0 results:

```
GET .kibana/_search
{
  "_source": ["index-pattern.title"],
  "query": {
    "term": {
      "type": "index-pattern"
    }
  }
}

```

Result:

```
{
  "took": 0,
  "timed_out": false,
  "_shards": {
    "total": 1,
    "successful": 1,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": 0,
    "max_score": null,
    "hits": []
  }
}

```

How can I find the index pattern id?

Thanks

---

<div class="post-metadata">

**Author:** ![nnet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nnet/32/25982_2.png) [@nnet](https://discuss.elastic.co/u/nnet)\
**Post date:** [September 2, 2019, 3:58am UTC](https://discuss.elastic.co/t/solved-deleted-index-pattern-dashboards-not-working/197641/2 "2019-09-02T03:58:44Z")

</div>

I deleted then recreated the pattern again using the id that the dashboard said was missing, dashboards working again.

---

<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:** [September 30, 2019, 3:58am UTC](https://discuss.elastic.co/t/solved-deleted-index-pattern-dashboards-not-working/197641/3 "2019-09-30T03:58:54Z")

</div>

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