zoukankan      html  css  js  c++  java
  • [ElasticSearch]常用URL路径

    https://172.15.3.xx:9200/
    http://172.15.3.xx:9200/_all?pretty
    
    https://172.15.3.xx:9200/_cluster/health?pretty
    https://172.15.3.xx:9200/_cat/health?v&pretty&h=status
    status的意义:
    + green 绿灯: 所有分片都正确运行,集群非常健康。
    + yellow 黄灯: 所有主分片都正确运行,但是有副本分片缺失。
    这种情况意味着 ES 当前还是正常运行的,但是有一定风险。
    注意,在 Kibana4 的 server 端启动逻辑中,即使是黄灯状态,Kibana 4 也会拒绝启动,死循环等待集群状态变成绿灯后才能继续运行。
    + red 红灯: 有主分片缺失。这部分数据完全不可用。而考虑到 ES 在写入端是简单的取余算法,轮到这个分片上的数据也会持续写入报错。
    
    https://172.15.3.xx:9200/_cat
    https://172.15.3.xx:9200/_cat/indices?pretty
    https://172.15.3.xx:9200/_cat/shards?v
          查看碎片情况(主要看: UNASSIGNED 的碎片)
    https://172.15.3.xx:9200/_cluster/health?level=shards&pretty
    https://172.15.3.xx:9200/_cat/plugins
    https://172.15.3.xx:9200/_cat/health
    https://172.15.3.xx:9200/_cat/master?pretty
    https://172.15.3.xx:9200/_cat/nodes?v
    
    https://172.15.3.xx:9200/_nodes?pretty
    https://172.15.3.xx:9200/_nodes/_master?pretty
    
    https://172.15.3.xx:9200/<索引名>/_close
    https://172.15.3.xx:9200/<索引名>/_recovery?pretty
    
    https://172.15.3.xx:9200/_searchguard/authinfo?pretty
    https://172.15.3.xx:9200/_searchguard/health
    
    https://172.15.3.xx:9200/_xpack?pretty
    https://172.15.3.xx:9200/_xpack/security/_authenticate?pretty
    https://172.15.3.xx:9200/_xpack/security/user/elastic/_password
    https://172.15.3.xx: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 推荐文献

  • 相关阅读:
    数组中寻找和为X的两个元素
    JSP&Servlet学习笔记(一)
    自下而上的动态规划算法
    计数排序
    快速排序
    堆排序
    LeetCode-001题解
    算法不归路之最大子序列(C++版)
    算法不归路之插入排序(C版)
    互联网五层模型
  • 原文地址:https://www.cnblogs.com/johnnyzen/p/13570974.html
Copyright © 2011-2022 走看看