当前位置:网站首页>es常见操作
es常见操作
2022-07-23 05:47:00 【study_小达人】
elasticsearch的一些常见操作
查看API
查看别名接口(_cat/aliases): 查看索引别名
查看分配资源接口(_cat/allocation)
查看文档个数接口(_cat/count)
查看字段分配情况接口(_cat/fielddata)
查看健康状态接口(_cat/health)
查看索引信息接口(_cat/indices)
查看master信息接口(_cat/master)
查看nodes信息接口(_cat/nodes)
查看正在挂起的任务接口(_cat/pending_tasks)
查看插件接口(_cat/plugins)
查看修复状态接口(_cat/recovery)
查看线城池接口(_cat/thread_pool)
查看分片信息接口(_cat/shards)
查看lucence的段信息接口(_cat/segments)
··························································································
集群API
查看集群健康状态接口(_cluster/health)
查看集群状况接口(_cluster/state)
查看集群统计信息接口(_cluster/stats)
查看集群挂起的任务接口(_cluster/pending_tasks)
集群重新路由操作(_cluster/reroute)
更新集群设置(_cluster/settings)
节点状态(_nodes/stats)
节点信息(_nodes)
节点的热线程(_nodes/hot_threads)
关闭节点(\nodes/_master/_shutdown)
curl -XGET 10.156.128.89:9200/_cluster/allocation/explain?pretty 查看有问题的分片和原因
curl -X PUT “10.156.128.89:9200/_cluster/settings” -H ‘Content-Type: application/json’ -d’{“persistent”: {“cluster.routing.allocation.node_concurrent_recoveries”: 100,“indices.recovery.max_bytes_per_sec”: “40mb”}}}’ 对集群设置进行更新
curl -XPUT -H ‘content-Type:application/json’ ‘10.157.4.121:9200/_settings’ -d ’ { “index” : { “number_of_replicas” : 1 } }’ (number_of_shards: 3)
curl -XGET 10.157.4.121:9200/_cat/templates?v&h=name查看模板
边栏推荐
- 学习日记——(路由与交换技术)网络地址转换 NAT技术
- Gameframework: package resources, publish packages with the app, package and generate folder instructions, upload resources to the server, download resources, gamefreamworklist DAT and gameframeworkve
- Unity3d HD rendering pipeline cannot play video on the model
- How far is the first kind of mistake from us
- 以go语言为例类比侦探推理来讲解【性能分析】
- Reading Phoenix Architecture - History and knowledge of RPC
- Sql Server性能分析,查看慢查询
- 浅析互联网协议(一)
- Hcip --- BGP --- border gateway protocol
- Unity3d: special effect object pool, timeout delete GameObject in the pool, GC weight
猜你喜欢

C# 自定义Queue队列集合

Super easy to use packet capturing tool tcpdump

Unity3d+moba+ skill indicator (II)

HCIP --- HDLC和PPP协议

OSPF综合实验

Unity3d:场景加载 GameObejct上脚本执行顺序

即时通讯WebSocket

[Reading Notes "Phoenix architecture" - a large-scale distributed system with reliable architecture. Zhou Zhiming] (I)

学习日记(路由与交换技术)——浮动静态路由和缺省路由

静态路由原理与配置
随机推荐
OSPF的路由策略和流量抓取
Routing and switching technology - static routing
OSPF的链路扩展配置
0 dynamic planning leetcode1024. Video splicing
[AUTOSAR storage stack NVM]
Hcip --- mGRE comprehensive experiment
Basic knowledge of high voltage technology
How to write a web page with a common text editor
C # custom bidirectional linked list
路由与交换技术——静态路由
PDF在线预览,pdf.js的使用
0 dynamic programming leetcodde313. super ugly number
Explain the flow control mechanism and congestion control mechanism of TCP in detail
Routing extension configuration of OSPF and rip
Super easy to use packet capturing tool tcpdump
HCIP---BGP相关配置(联邦篇)
Unity mouse controls camera drag, rotation and zoom (simulation editor camera function)
浅做一下思科实验吧!
Hcip --- OSPF details
Unity3d+gameframework: resource analysis, resource dependency, circular dependency detection