You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Elasticsearch Watcher动作日志存储的索引名称是什么?

Watcher日志存储索引说明

Watcher的logging动作日志默认存在**.watcher-history-***系列索引中,这类索引是按日期滚动生成的(例如.watcher-history-2024.05.20)。

几个关键点:

  • 若未修改过Watcher的日志存储配置,直接查找该前缀的索引即可
  • 在Kibana的Discover面板中,选择对应日期的.watcher-history-*索引,通过action.type: logging筛选,就能找到你配置的my-logging-action相关日志
  • 如果自定义过Watcher历史存储的配置,日志会存在你指定的索引里,需要检查xpack.watcher.history.index.name配置项

你的Watcher动作配置:

"actions": {
    "my-logging-action": {
        "logging": {
            "level": "warn",
            "text": "my-logging-action There has been no {{ctx.metadata.title}} request in the last {{ctx.metadata.interval_text}}."
        }
    }
}

内容的提问来源于stack exchange,提问作者Kaan H

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.01 15:49:59