ElasticSearch之cat nodeattrs API

命令样例如下:

shell 复制代码
curl -X GET "https://localhost:9200/_cat/nodeattrs?v=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"

执行结果输出如下:

shell 复制代码
node          host      ip        attr                           value
jackie-ubuntu 127.0.0.1 127.0.0.1 ml.allocated_processors        4
jackie-ubuntu 127.0.0.1 127.0.0.1 ml.allocated_processors_double 4.0
jackie-ubuntu 127.0.0.1 127.0.0.1 ml.max_jvm_size                2021654528
jackie-ubuntu 127.0.0.1 127.0.0.1 ml.config_version              11.0.0
jackie-ubuntu 127.0.0.1 127.0.0.1 xpack.installed                true
jackie-ubuntu 127.0.0.1 127.0.0.1 transform.config_version       10.0.0
jackie-ubuntu 127.0.0.1 127.0.0.1 ml.machine_memory              4040327168

查看帮助,命令如下:

shell 复制代码
curl -X GET "https://localhost:9200/_cat/nodeattrs?v=true&help=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"

执行结果输出如下:

shell 复制代码
node  | name       | node name
id    | id,nodeId  | unique node id
pid   | p          | process id
host  | h          | host name
ip    | i          | ip address
port  | po         | bound transport port
attr  | attr.name  | attribute description
value | attr.value | attribute value

相关资料

相关推荐
maomi_952635 分钟前
操作系统之EXT文件系统
linux·服务器
伤不起bb4 小时前
MySQL 高可用
linux·运维·数据库·mysql·安全·高可用
tmacfrank7 小时前
网络编程中的直接内存与零拷贝
java·linux·网络
QQ2740287569 小时前
Soundness Gitpod 部署教程
linux·运维·服务器·前端·chrome·web3
qwfys2009 小时前
How to configure Linux mint desktop
linux·desktop·configure·mint
南方以南_9 小时前
Ubuntu操作合集
linux·运维·ubuntu
冼紫菜10 小时前
[特殊字符]CentOS 7.6 安装 JDK 11(适配国内服务器环境)
java·linux·服务器·后端·centos
Chuncheng's blog11 小时前
RedHat7 如何更换yum镜像源
linux
爱莉希雅&&&11 小时前
shell脚本之条件判断,循环控制,exit详解
linux·运维·服务器·ssh
wei_work@12 小时前
【linux】Web服务—搭建nginx+ssl的加密认证web服务器
linux·服务器·ssl