·configure-log-aggregation
{}

configure-log-aggregation

使用 Loki 和 Promtail(或 ELK 堆疊)設定集中式日誌聚合,包括日誌解析、標籤提取、保留策略以及與關聯指標的整合。當將來自多個服務的日誌合併到可搜尋系統、用集中式可查詢儲存取代本機日誌檔案、將日誌與指標和追蹤相關聯、透過標籤提取實現結構化日誌記錄或對需要跨服務日誌分析的生產事件進行故障排除時使用。

10安裝·1熱度·@pjt222

安裝

$npx skills add https://github.com/pjt222/development-guides --skill configure-log-aggregation

如何安裝 configure-log-aggregation

透過命令列快速安裝 configure-log-aggregation AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/pjt222/development-guides --skill configure-log-aggregation
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:pjt222/development-guides。

SKILL.md

查看原文

Implement centralized log collection, parsing, and querying with Loki/Promtail or ELK stack for operational visibility.

Select between Loki (Prometheus-style) or ELK (Elasticsearch-based) based on requirements.

For this guide, we'll focus on Loki + Promtail (recommended for most modern setups).

使用 Loki 和 Promtail(或 ELK 堆疊)設定集中式日誌聚合,包括日誌解析、標籤提取、保留策略以及與關聯指標的整合。當將來自多個服務的日誌合併到可搜尋系統、用集中式可查詢儲存取代本機日誌檔案、將日誌與指標和追蹤相關聯、透過標籤提取實現結構化日誌記錄或對需要跨服務日誌分析的生產事件進行故障排除時使用。 來源:pjt222/development-guides。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/pjt222/development-guides --skill configure-log-aggregation
分類
{}資料分析
認證
收錄時間
2026-03-10
更新時間
2026-03-10

Browse more skills from pjt222/development-guides

快速解答

什麼是 configure-log-aggregation?

使用 Loki 和 Promtail(或 ELK 堆疊)設定集中式日誌聚合,包括日誌解析、標籤提取、保留策略以及與關聯指標的整合。當將來自多個服務的日誌合併到可搜尋系統、用集中式可查詢儲存取代本機日誌檔案、將日誌與指標和追蹤相關聯、透過標籤提取實現結構化日誌記錄或對需要跨服務日誌分析的生產事件進行故障排除時使用。 來源:pjt222/development-guides。

如何安裝 configure-log-aggregation?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/pjt222/development-guides --skill configure-log-aggregation 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/pjt222/development-guides