喬叔的 Elastic Stack 專業教育訓練
  • 喬叔的 Elastic Stack 專業教育訓練
  • 🧑關於喬叔 (Joe Wu)
  • Elastic 課程公開班
    • 🎯Elasticsearch 基礎實務班
      • 💯學員課後回饋
    • 🆕Elasticsearch 進階運維班
      • 💯學員課後回饋
    • Elasticsearch 進階開發班
    • Elastic Stack 基礎實務班
    • Elastic Observability 基礎實務班
    • 📩課程許願池
  • 技術分享
    • 📗喬叔帶你上手 Elastic Stack
      • 前言
      • Elastic Cloud 如何建立 Deployment
        • ES Node 的種類
        • 配置的選擇
      • Index 建立前你該知道的
        • ES Index 如何被建立
        • ES 的超前佈署 - Dynamic Mapping
        • ES 的超前佈署 - Index Template
        • ES Index 的別名 (Alias)
        • 管理你的 Index - Kibana Index
      • 管理 Index 的 Best Practices
        • Shard 的數量與 Rollover & Shrink API
        • 三溫暖架構 - Hot Warm Cold Architecture
        • Index Lifecycle Management (ILM)
        • Rollup
        • Transform
        • Snapshot Lifecycle Management (SLM)
        • 總結
      • Elastic Cloud 比免費版還多的功能
        • Elastic Stack 的方案比較與銷售方式
        • Centralized Beats Management
        • Centralized Pipeline Management
        • Watcher
        • Elasticsearch Token Service
        • Multi-stack monitoring & Automatic stack issue alerts
      • 向 App Search 學習怎麼用 Elasticsearch
        • 揭開 App Search 的面紗
        • Engine 的 Index Settings 篇
        • Engine 的 Mapping 篇
        • Engine 的 Search 基礎剖析篇
        • Engine 的 Search 進階剖析篇
      • Elasticsearch 的優化技巧
        • Indexing 索引效能優化
        • Searching 搜尋效能優化
        • Index 的儲存空間最佳化
        • Shard 的最佳化管理
      • 完賽心得
    • 📘喬叔帶你上手 Elastic Stack - 探索與實踐 Observability 系列
      • 前言 & 淺談 Observability
      • Elastic 的 Observability 解決方案
      • Uptime - 掌握系統的生命徵象
        • 我們要觀測的生命徵象是什麼?
        • 使用 Heartbeat 收集系統生命徵象數據
        • 透過 Kibana 觀看心電圖及設定警報
        • 使用合成監控 (Synthetics Monitor) 從使用者情境驗證服務的運作狀態
      • Metrics - 觀察系統的健康指標
        • Metrics 與 Metricbeat 的基本介紹
        • 使用 Metricbeat 掌握 Elastic Stack 的健康狀態
        • 使用 Metricbeat 掌握 Infrastructure 的健康狀態 Host 篇
        • 使用 Metricbeat 掌握 Infrastructure 的健康狀態 Docker 篇
        • 使用 Metricbeat 掌握 Infrastructure 的健康狀態 Kubernetes 篇
        • 使用 Metricbeat 掌握 Infrastructure 的健康狀態 AWS 篇
      • Logs - 挖掘系統內部發生的狀況
        • Logs 與 Filebeat 的基本介紹
        • 使用 Filebeat 應該要了解的設計細節與原理
        • 透過 Filebeat 收集 Elastic Stack 中各種服務的細節資訊
        • 透過 Filebeat 收集 Infrastructure 中各種服務的細節資訊
      • Traces - 觀察應用程式的效能瓶頸
        • Elastic APM 基本介紹
        • 使用 APM-Integratoin-Testing 建立 Elastic APM 的模擬環境
        • 如何在 Kibana 使用 APM UI
        • 使用 APM Server 來收集 APM 數據
        • 透過 APM Agents 收集並傳送後端服務運作的記錄
        • 透過真實使用者監控 (RUM, Real User Monitoring) 來改善使用者體驗
      • 建立結構化的 Log
        • Elastic Common Schema 結構化 Log 的規範
        • Elasticsearch Ingest Pipeline 資料 Index 前的轉換好幫手
          • 基本介紹
          • 各種常用的 Processor
          • Enrich 資料與例外處理
      • 有效的使用 Observability 的資料
        • 透過 Machine Learning 發現異常的問題
        • 使用 Kibana Alerts 主動通知異常狀況
        • 資料的生命週期管理
        • 使用 Elastic Observability 追縱及觀察問題的心得
      • 完賽心得
    • 😀Elasticsearch 技術分享小品
      • 🤖Elastic 與 AI
        • Elasticsearch Inference API 讓我們直接在 ES 裡運用 OpenAI Completion API
    • 🎥線上分享
      • 喬叔 Elasticsearch Index 管理與效能優化技巧
      • Elastic Certification 認證經驗分享
    • 🛠️workshop
      • 如何在 Elasticsearch 實現敏捷的資料建模與管理 @ DevOpsDays 2023
        • 工作坊實作內容
      • Elastic Observability 實作體驗坊 @ DevOpsDays 2022
        • 行前準備
        • 工作坊實作內容
      • 當 Elasticsearch 搜尋引擎遇上 AI @ HelloWordDevConference 2024
        • 投影片
        • Elasticsearch 環境準備
        • Google Colab 環境準備
        • 工作坊操作說明
        • ElasticSearch Relevance Engine (ESRE)
    • ⬆️Elastic Stack 版本升級記錄
      • 🔍Elasticsearch
  • 其他專業服務
    • 👩‍🎓企業包班 | 企業內訓
    • 👨‍💼顧問服務
    • 🈺專案合作
    • 🧩Elastic 授權代理
  • 相關連結
    • Facebook 粉絲頁
Powered by GitBook
On this page
  • 前言
  • 進入此章節的先備知識
  • 此章節的重點學習
  • Multi-stack monitoring
  • Automatic stack issue alerts
  • 參考資料
  1. 技術分享
  2. 喬叔帶你上手 Elastic Stack
  3. Elastic Cloud 比免費版還多的功能

Multi-stack monitoring & Automatic stack issue alerts

PreviousElasticsearch Token ServiceNext向 App Search 學習怎麼用 Elasticsearch

Last updated 2 years ago

前言

這篇是 Elastic Cloud 比免費版還多的功能 系列的最後一篇,主要是針對 Stack Monitoring 中 Gold License 才能使用、但已經在 Elastic Cloud Standard 版本中開放使用的兩個功能 Multi-stack monitoring 和 Automatic stack issue alerts 。

進入此章節的先備知識

  • Elasticsearch 的基本認識

  • Kibana 的基本操作

此章節的重點學習

  • Multi-stack monitoring 的功能介紹。

  • Automatic stack issue alerts 的功能介紹。


Multi-stack monitoring

這個功能主要的目的是讓你透過一個 集中化的監控叢集 (centrlized monitoring cluster) ,來記錄、追縱、比對來自多個 Elastic Stack deployment 的健康或是效能的狀態,白話就是:把多個 cluster + elastic stack 產品的 log 送到專們 monitoring 用的 cluster 來監管。

這樣 Centralized monitoring cluster 也是 Elastic 官方建議的做法,做好角色分工,也避免讓處理其他工作的 Elasticsearch Cluster 若發生異常時,不會影響到 Monitoring 的監控狀態。

以下是在 Elastic Cloud 的 Elasticsearch 設定時,會看到 Monitoring deployment 的設定選項,其中也明確的建議 Production 環境要記得將 Montoring 的任務安排給一組特定的 Deployment 來管理。

elastic cloud monitoring deployment

若是 Monitoring Culster 同時管理多個 Elasticsearch Culster 時,進入 Kibana > Stack Monitoring 會出現 Clusters 的選單,此時也有所有 Clusters 的 Overview。

進入某個 Cluster 後,可以查看這組 Deployement 的 Elastic Stack monitor。

Automatic stack issue alerts

在 Elastic Stack 中,這個 Automatic stack issue alerts 有預先針對 Elastic Stack 定義好一些通知的 alerts 機制,我們進入 setup mode 去修改相關的設定。

在不同的 Elastic Stack 中,點選 alerts 之後,可看到會有不同的 Alerts 的定義。

每個 Alerts 都可以進入編輯,並修改一些觸發條件、或是執行的動作。

除此之外,Alerting Framework 目前強調的是可以在 Kibana 的任何地方都能輕鬆的建立合適的 Alert,也包含在 Machine Learning 時也能用同樣的機制來設定 alert 的 actions,這個 Alerting Framework 還在持續的發展中,期待接下來的版本有更多的功能推出,這次 Alerting Framework 不在此章節的介紹範圍內,有興趣的朋友可以參考下方的參考資料查閱更多的細節。

參考資料

stack monitoring - multi culster
stack monitoring - specific cluster

Elastic Stack 中,Metricbeat 是被 Elastic 官方推薦用來收集 Monitoring data 的工具,詳細如何使用,請參考 。

Elastic Stack 中除了先前介紹的 Watcher 之外,Elastic Stack 7.7 時推出全新的 Alerting Framework,將 6.x 版時陸續為了先舖路而推出的各個功能整合起來,完成 Alerting 的大業。詳細的介紹可以從 來查閱。

Watcher 主要是以 Elasticsearch 來當成執行的 Instance,而 Alerting 是以 Kibana 來當執行的 Instance,兩者層級不太一樣,詳細差別官方文件有特別一個章節在描述他們的差異,可以參考 。

stack monitoring edit mode
Screen Shot 2020-10-05 at 11.55.59 PM
image-20201005235701713

📗
官方文件 - Collecting monitoring data with metricbeat
官方 Blog - Introducing the new alerting framework for Elastic Observability, Elastic Security, and the Elastic Stack
這邊
官方文件 - Monitoring in a production environment
官方 Blog - Alerting in the Elastic Stack
官方 Blog - Introducing the new alerting framework for Elastic Observability, Elastic Security, and the Elastic Stack