zoukankan      html  css  js  c++  java
  • Curl elasticsearch

    1. 查看cluster state

    curl localhost:9200/_cluster/health?pretty
    Or
    curl localhost:9200/_cluster/health | jq .
    

    2. 只查看某字段

    curl localhost:9200/_nodes/stats/process?filter_path=**.max_file_descriptors | jq .
    

    3. 查看index

    curl -XGET "http://localhost:9200/_cat/indices"
    

    4.查看type

    curl -XGET "http://localhost:9200/.monitoring-es-6-2019.03.27/

    5. 查看id

    curl -XGET "http://localhost:9200/.monitoring-es-6-2019.03.27/_search"
    

    7. 查看id存储的内容

    curl -XGET "http://localhost:9200/.monitoring-es-6-2019.03.27/doc/_AfUvGkBMaZdBCqXemc_"
    

    8. 删除index

    curl -X DELETE elasticsearch.oohome.net:9200/logstat-test1
    

      

  • 相关阅读:
    互斥量
    读写锁
    死锁
    pthread
    线程
    守护进程
    信号捕捉
    信号集
    信号
    mmap
  • 原文地址:https://www.cnblogs.com/divl/p/10600008.html
Copyright © 2011-2022 走看看