命令样例如下:
curl -X GET "https://localhost:9200/_cat/fielddata?v=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"
执行结果输出如下:
id host ip node field size
Nqk-6inXQq-OxUfOUI8jNQ 127.0.0.1 127.0.0.1 Nqk-6in body 544b
Nqk-6inXQq-OxUfOUI8jNQ 127.0.0.1 127.0.0.1 Nqk-6in soul 480b
查看帮助,命令如下:
curl -X GET "https://localhost:9200/_cat/fielddata?v=true&help=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"
执行结果输出如下:
id | | node id
host | h | host name
ip | | ip address
node | n | node name
field | f | field name
size | s | field data usage
相关资料
- cat fielddata API
- Field data cache settings
- API conventions
- HTTP accept header
- Text type family
- eager_global_ordinals
- Circuit breaker settings
- Clear cache API
- Nodes stats API