当前位置:网站首页>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查看模板
边栏推荐
- Reading Phoenix Architecture - History and knowledge of RPC
- post表单提交数据限制
- Hcip --- mGRE comprehensive experiment
- HCIP---条件匹配和OSPF协议
- HCIP---MGRE综合实验
- 学习日记——(路由与交换技术)动态路由(rip协议)和静态路由
- How to write a web page with a common text editor
- Explain TCP segmentation and IP fragmentation in detail
- OSPF的路由策略和流量抓取
- Link expansion configuration of OSPF
猜你喜欢

Unity used trilib plug-in under URP pipeline to load model material incorrectly

Super easy to use packet capturing tool tcpdump

Hcip - HDLC and PPP protocols

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

C# 自定义Queue队列集合

Unity3d+moba+ skill indicator (I)

DHCP second experiment

Unity3d: script execution sequence on scene loading gameobejct

Hcip --- mGRE comprehensive experiment

Explanation of websocket protocol
随机推荐
深度优先找出图中顶点U到顶点V的所有简单路径
PDF Online preview, use of pdf.js
详解TCP连接的建立
Nas里搭建Frpc客户端【超级无脑】
How to solve too many if statements
浅析互联网协议(二)
浅析互联网协议(一)
【数据库】基础理论
Unity3d:ugui, UI and special effect particle level, bakemesh above 2018.2, particles between two images and in Scrollview
OSPF routing strategy and Traffic Capture
Unity3d: ugui source code, rebuild optimization
HCIP---GRE协议和MGRE环境,以及OSPF协议的相关知识点
HCIP---BGP ---边界网关协议
Analyze sentinel mode in redis
Unity3d: special effect object pool, timeout delete GameObject in the pool, GC weight
Hcip --- OSPF details
Routing and interface technology -- Summary of direct network
强一致性和弱一致性的分析思路以及分布式场景的并发技巧
剖析Redis中的Sentinel模式
C# 自定义Queue队列集合