[ElasticSearch]常用URL路徑


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
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 推薦文獻


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM