首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >专栏 >Kibana 中看不到监控信息

Kibana 中看不到监控信息

原创
作者头像
HLee
修改2021-10-14 18:05:44
修改2021-10-14 18:05:44
1.8K00
代码可运行
举报
文章被收录于专栏:房东的猫房东的猫
运行总次数:0
代码可运行

简介

描述;查看Kibana的monitor的时候发现没有数据。

代码语言:javascript
代码运行次数:0
运行
复制
# 查看模板
GET _cat/templates/.monitoring*?v

# 查看是否有 .monitoring-es-* 的索引
GET _cat/indices/.monitoring-*

# 查看集群配置
GET /_cluster/settings
{
  "persistent" : {
    "xpack" : {
      "monitoring" : {
        "collection" : {
          "enabled" : "true"
        },
        "history" : {
          "duration" : "30d"
        }
      }
    }
  },
  "transient" : {
    "cluster" : {
      "routing" : {
        "allocation" : {
          "enable" : "all",
          "exclude" : {
            "_host" : "xxxxxxxx"
          }
        }
      }
    }
  }
}
  • 修改集群配置
代码语言:javascript
代码运行次数:0
运行
复制
PUT _cluster/settings
{
  "persistent": {
    "xpack": {
      "monitoring": {
        "elasticsearch": {
          "collection": {
            "enabled": "true"
          }
        },
        "collection": {
          "enabled": "true"
        }
      }
    }
  }
}

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 简介
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档