使用 shuf 来打乱一个文件中的行或是选择文件中一个随机的行。

【已解决】x-pack不显示ES节点的CPU利用率

Elasticsearch | 作者 Jager918 | 发布于2018年03月21日 | 阅读数:4679

使用官方的Docker部署了一套ELK结构集群,并导入了基础版本(免费1年)的license,在kibana可以看到monitor功能。
但我发现Elasticsearch节点列表界面 CPU Usage 一列显示为N/A,有前辈知道是什么原因吗?
 

1111.png

 
补充:最终在谷歌搜索了N种关键词组合才找到可以解决的办法,通过docker部署的ES,需要在kibana启动选项中插入如下参数:
 
 -e XPACK_MONITORING_UI_CONTAINER_ELASTICSEARCH_ENABLED=false
 
对应的原始参数为:
 
xpack.monitoring.ui.container.elasticsearch.enabled: false

官方描述如下:
or Elasticsearch clusters that are running in containers, this setting changes the Node Listing to display the CPU utilization based on the reported Cgroup statistics. It also adds the calculated Cgroup CPU utilization to the Node Overview page instead of the overall operating system’s CPU utilization. Defaults to false.



2222.png




 
吼吼吼!!!
 
已邀请:

rockybean - Elastic Certified Engineer, ElasticStack Fans,公众号:ElasticTalk

赞同来自:

看下日志吧,看是否有错误输出,我没遇到过这种情况

要回复问题请先登录注册