type
Post
status
Published
date
Apr 15, 2025
slug
Kibana-Visualization-could-not-locate
summary
tags
疑難雜症
category
ELK
icon
password

症狀

Kibana 的 Visualization 圖表出現 could not locate that index-pattern 的錯誤訊息:
notion image

原因

原因是每個建好的 index pattern 都會帶一個獨立 ID ,Kibana Visualization 會綁定該 ID,故原始 index pattern 被刪除時,即便新建一個同名 index pattern,ID 改變造成 Visualization 找不到原始綁定的 index pattern。

解決方式

點擊有問題的 Visualization 會出現以下訊息:
notion image
到 Stack Management -> Index Pattern 找到對應 pattern,點進去之後可以從網址上找到 index pattern 的 id:
notion image
在 Visualization 底下的 references 將 id 進行修改:
notion image
修復完畢:
notion image

參考