我的 Grafana 儀表板顯示了一些 Elastic 檔案的統計資訊。這些檔案中有些具有屬性important_details,有些則沒有。我想創建一個“有重要細節:是/否/全部”過濾器。
我所做的是創建了一個新has_important_details變數,型別為“自定義”,具有以下選項:
Yes : _exists_:important_details, No : NOT _exists_:important_details
然后,我正在編輯面板并添加$has_important_details到查詢欄位。
這不起作用,原因似乎是_exists_:important_details它實際上發送了查詢而不是
_exists_\\:important_details
同樣
NOT\\ _exists_\\:important_details
相反。
uj5u.com熱心網友回復:
畢竟是我自己發現的。而不是$has_important_detailsQuery 欄位應該是${has_important_details:raw}。
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/490507.html
下一篇:轉置和Groupby熊貓列
