# Dashboard Panel not show data when change indices

**URL:** <https://discuss.elastic.co/t/dashboard-panel-not-show-data-when-change-indices/275393>\
**Category:** Kibana\
**Created:** [June 9, 2021, 7:56am UTC](https://discuss.elastic.co/t/dashboard-panel-not-show-data-when-change-indices/275393 "2021-06-09T07:56:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![cuongnp](https://avatars.discourse-cdn.com/v4/letter/c/74df32/32.png) [@cuongnp](https://discuss.elastic.co/u/cuongnp)\
**Post date:** [June 9, 2021, 7:56am UTC](https://discuss.elastic.co/t/dashboard-panel-not-show-data-when-change-indices/275393/1 "2021-06-09T07:56:46Z")

</div>

Hi community,  
My dashboard panel show blank page when I delete old indice and create new one. I'm also not able to edit panels. The new indice is still received document and I can create new panel with visualization.  
Both old and new panel has the same index patern and filter field configuration

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/f/ef3bd640eeab2fad900359e05ecfcaac9e359dd0.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/b/cb7b046b931cf0a99b3b2db308439ed34919ed3e.png)

Please take a look and give me advice

Thanks

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [June 9, 2021, 8:51am UTC](https://discuss.elastic.co/t/dashboard-panel-not-show-data-when-change-indices/275393/2 "2021-06-09T08:51:36Z")

</div>

Which version of Kibana are you using? I think this case was improved in 7.12 (showing a nice error message and allowing to edit), but I might be mistaken.

> when I delete old indice and create new one

What exactly do you mean by that? Deleting indices in Elasticsearch? Deleting/recreating the index pattern saved object in Kibana?

---

<div class="post-metadata">

**Author:** ![cuongnp](https://avatars.discourse-cdn.com/v4/letter/c/74df32/32.png) [@cuongnp](https://discuss.elastic.co/u/cuongnp)\
**Post date:** [June 9, 2021, 9:48am UTC](https://discuss.elastic.co/t/dashboard-panel-not-show-data-when-change-indices/275393/3 "2021-06-09T09:48:11Z")

</div>

Hi Joe,  
My kibana version is 7.12 🙂  
I deleted indice in Stack Management --\> Data --\> Index Management and new index is automactically created after that.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/3/534831cb95f0f1a318f1b82f0eba8ff2cf2c39cb.png)

Thanks

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [June 9, 2021, 9:52am UTC](https://discuss.elastic.co/t/dashboard-panel-not-show-data-when-change-indices/275393/4 "2021-06-09T09:52:58Z")

</div>

Is it possible the mapping of the new index is different than the old one?

Also, could you check whether any errors are logged in the browser console when navigating to a dashboard with a broken blank panel?

---

<div class="post-metadata">

**Author:** ![cuongnp](https://avatars.discourse-cdn.com/v4/letter/c/74df32/32.png) [@cuongnp](https://discuss.elastic.co/u/cuongnp)\
**Post date:** [June 9, 2021, 10:22am UTC](https://discuss.elastic.co/t/dashboard-panel-not-show-data-when-change-indices/275393/5 "2021-06-09T10:22:01Z")

</div>

All the mapping fields are still exist and searchable within new indice

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/3/a3d8caeba8971220026c7d2708682a025ebce2b2.jpeg)

```auto
{
  "logstash-2021.06.09-000001" : {
    "mappings" : {
      "dynamic_templates" : [
        {
          "message_field" : {
            "path_match" : "message",
            "match_mapping_type" : "string",
            "mapping" : {
              "norms" : false,
              "type" : "text"
            }
          }
        },
        {
          "string_fields" : {
            "match" : "*",
            "match_mapping_type" : "string",
            "mapping" : {
              "fields" : {
                "keyword" : {
                  "ignore_above" : 256,
                  "type" : "keyword"
                }
              },
              "norms" : false,
              "type" : "text"
            }
          }
        }
      ],
      "properties" : {
        "@timestamp" : {
          "type" : "date"
        },
        "@version" : {
          "type" : "keyword"
        },
        "appname" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "facility" : {
          "type" : "long"
        },
        "facility_label" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "geoip" : {
          "dynamic" : "true",
          "properties" : {
            "ip" : {
              "type" : "ip"
            },
            "latitude" : {
              "type" : "half_float"
            },
            "location" : {
              "type" : "geo_point"
            },
            "longitude" : {
              "type" : "half_float"
            }
          }
        },
        "host" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "hostname" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "message" : {
          "type" : "text",
          "norms" : false
        },
        "priority" : {
          "type" : "long"
        },
        "severity" : {
          "type" : "long"
        },
        "severity_label" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "tags" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "timestamp" : {
          "type" : "date"
        },
        "vm_found" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_cluster" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_esxi_audit" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_esxi_auth_source" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_esxi_auth_user" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_esxi_device_id" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_esxi_portgroup" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_esxi_snapshot_operation" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_esxi_uptime" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_esxi_vms" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_exsi_problem" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_rsv_source" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_rsv_time" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_vc_api_invocations" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_vc_auth_source" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_vc_auth_user" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_vc_db_execution_time" : {
          "type" : "long"
        },
        "vmw_vc_task_operation" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_vm_vmx_name" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        },
        "vmw_vob_component" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          },
          "norms" : false
        }
      }
    }
  },

```

For the browser console, there is an error

```auto
Detected an unhandled Promise rejection.
Error: Could not locate that index-pattern (id: 3cfc87a0-b22c-11eb-bd94-1178a68499d3), [click here to re-create it](management/kibana/indexPatterns)

```

---

<div class="post-metadata">

**Author:** ![cuongnp](https://avatars.discourse-cdn.com/v4/letter/c/74df32/32.png) [@cuongnp](https://discuss.elastic.co/u/cuongnp)\
**Post date:** [June 9, 2021, 10:42am UTC](https://discuss.elastic.co/t/dashboard-panel-not-show-data-when-change-indices/275393/6 "2021-06-09T10:42:12Z")

</div>

Hi,  
I recreated the index pattern and add old index id to custom index patern id and the panels show data now.because old panels link to old index id 🙂

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [June 9, 2021, 11:21am UTC](https://discuss.elastic.co/t/dashboard-panel-not-show-data-when-change-indices/275393/7 "2021-06-09T11:21:02Z")

</div>

You shouldn't delete and re-create the index pattern saved object if there are still visualizations linked to it. It's not necessary to do that - the field list will update automatically and it will still query the right data.

---

<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:** [July 7, 2021, 11:21am UTC](https://discuss.elastic.co/t/dashboard-panel-not-show-data-when-change-indices/275393/8 "2021-07-07T11:21:11Z")

</div>

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