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

相关资料

相关推荐
乌托邦的逃亡者3 分钟前
Linux系统中配置history命令显示时间、IP、账号和操作命令
linux·运维·安全
趙小贞8 分钟前
字符设备驱动开发流程与实战:以 LED 驱动为例
linux·c语言·驱动开发
Archy_Wang_137 分钟前
Elasticsearch8.4.1升级Elasticsearch9.1.5
运维·elasticsearch·jenkins
Wang's Blog2 小时前
Linux小课堂: Vim与Emacs之Linux文本编辑器的双雄格局及Vim安装启动详解
linux·vim·emacs
观山岳五楼2 小时前
unbuntu系统配置IPV6的三种模式
linux·服务器·ip·1024程序员节
运维行者_2 小时前
AWS云服务故障复盘——从故障中汲取的 IT 运维经验
大数据·linux·运维·服务器·人工智能·云计算·aws
王道长服务器 | 亚马逊云2 小时前
AWS Systems Manager:批量服务器管理的隐藏利器
linux·网络·云计算·智能路由器·aws
命运之光3 小时前
【快速解决】Linux服务器安装Java17运行环境
linux·运维·服务器
你喜欢喝可乐吗?3 小时前
Ubuntu服务器无法显示命令行登录提示
linux·运维·服务器·ubuntu
FJW0208143 小时前
【Linux】用户管理及优化
linux·运维·服务器