[ElasticSearch]常用URL路径
2024-10-21 19:49:00
https://127.0.0.1:9200/
http://127.0.0.1:9200/_all?pretty
https://127.0.0.1:9200/_cluster/health?pretty
https://127.0.0.1:9200/_cat/health?v&pretty&h=status
status的意义:
+ green 绿灯: 所有分片都正确运行,集群非常健康。
+ yellow 黄灯: 所有主分片都正确运行,但是有副本分片缺失。
这种情况意味着 ES 当前还是正常运行的,但是有一定风险。
注意,在 Kibana4 的 server 端启动逻辑中,即使是黄灯状态,Kibana 4 也会拒绝启动,死循环等待集群状态变成绿灯后才能继续运行。
+ red 红灯: 有主分片缺失。这部分数据完全不可用。而考虑到 ES 在写入端是简单的取余算法,轮到这个分片上的数据也会持续写入报错。
https://127.0.0.1:9200/_cat
https://127.0.0.1:9200/_cat/indices?pretty
GET /_cat/indices/system-log-*
https://127.0.0.1:9200/_cat/shards?v
查看碎片情况(主要看: UNASSIGNED 的碎片)
https://127.0.0.1:9200/_cluster/health?level=shards&pretty
https://127.0.0.1:9200/_cat/plugins
[查看安装的插件(例如: ik分词器插件)]
https://127.0.0.1:9200/_cat/health
https://127.0.0.1:9200/_cat/master?pretty
https://127.0.0.1:9200/_cat/nodes?v
https://127.0.0.1:9200/_nodes?pretty
https://127.0.0.1:9200/_nodes/_master?pretty
http://127.0.0.1:9200/_cat/indices
[查看所有index]
https://127.0.0.1:9200/<索引名>/_close
https://127.0.0.1:9200/<索引名>/_recovery?pretty
https://127.0.0.1:9200/_searchguard/authinfo?pretty
https://127.0.0.1:9200/_searchguard/health
https://127.0.0.1:9200/_xpack?pretty
https://127.0.0.1:9200/_xpack/security/_authenticate?pretty
https://127.0.0.1:9200/_xpack/security/user/elastic/_password
https://127.0.0.1:9200/_xpack/license/
curl -XPOST --insecure -u admin:admin 'https://172.15.3.xx:9200/_xpack/license/start_trial?acknowledge=true&pretty
https://license.elastic.co/registration
https://repo1.maven.org/maven2/com/floragunn/search-guard-tlstool/1.7/search-guard-tlstool-1.7.tar.gz
https://artifacts.elastic.co/downloads/kibana/kibana-6.4.1-linux-x86_64.tar.gz
X 推荐文献
最新文章
- 各大安卓应用市场APP上传提交与收录
- ubuntu下sublime中文无法输入的问题
- 关于DotNetBar中DataGridViewX 自动全屏 Anchor属性无效问题
- java 菱形
- leetcode@ [36/37] Valid Sudoku / Sudoku Solver
- [问题]编译报错:clang: error: linker command failed with exit code 1及duplicate symbol xxxx in错误解决方法之一
- jQuery 随滚动条滚动效果 (固定版)
- ADO读取EXCEL
- 15分钟理解HTTPS——通俗篇
- Awards and Certifications @EMC
- Android进阶(十六)子线程调用Toast报Can&#39;t create handler inside thread that has not called Looper.prepare() 错误
- 我的Python笔记04
- spring aop 的代理工厂
- Linux报swap空间占用过高,但物理内存还有空余
- source tree使用经验
- Cookie常用的优化方式
- [WPF源码分析]ContentControl依赖项属性的双向绑定,two-way binding view&#39;s DependencyProperty and ViewModel&#39;s variable
- javascript : location 对象
- mac上用ssh登录服务失败的排查方法
- Mysql5.7 半同步改进