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

相关资料

相关推荐
铭毅天下20 小时前
Spring Boot + Easy-ES 3.0 + Easyearch 实战:从 CRUD 到“避坑”指南
java·spring boot·后端·spring·elasticsearch
minihuabei20 小时前
跨域拉镜像
linux
王 富贵21 小时前
【Linux】防火墙常用命令(iptables/firewalld/ufw)
linux·运维·服务器
写代码的【黑咖啡】21 小时前
Linux系统简介及常用命令分类详解
linux·运维·服务器
YFLICKERH1 天前
【Linux系统】ubuntu 25.04 虚拟机联网与DNS域名问题排查案例
linux·ubuntu25.04
松涛和鸣1 天前
DAY27 Linux File IO and Standard IO Explained: From Concepts to Practice
linux·运维·服务器·c语言·嵌入式硬件·ubuntu
GeniuswongAir1 天前
飞牛NAS死机排查
linux·运维·服务器
hhcgchpspk1 天前
linux查找并杀死进程部分方法
linux·运维·服务器·网络·经验分享
天上飞的粉红小猪1 天前
线程概念&&控制
linux·开发语言·c++
嘻哈baby1 天前
WireGuard为何取代IPSec成为Linux内核首选:协议架构与性能实测
linux·arm开发·架构