1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
| curl -X GET "localhost:9200/_cluster/health?pretty"
curl -X GET "localhost:9200/.monitoring-*/_search?pretty"
curl -X GET "localhost:9200/_cat/nodes?v"
curl -X GET "localhost:9200/_nodes/stats?pretty"
curl -X GET "localhost:9200/_cat/indices?v&health=red"
curl -X GET "localhost:9200/_cat/nodes?v&h=name,heap.percent,ram.percent,cpu,load_1m,load_5m,load_15m"
curl -X GET "localhost:9200/_nodes/stats/jvm?pretty" | grep -A 10 "heap"
curl -X GET "localhost:9200/_nodes/stats/fs?pretty"
curl -X GET "localhost:9200/_nodes/stats/indices/search?pretty" | grep -A 5 "query_time"
curl -X PUT "localhost:9200/_all/_settings" -H 'Content-Type: application/json' -d' { "index.search.slowlog.threshold.query.warn": "2s", "index.search.slowlog.threshold.query.info": "1s", "index.search.slowlog.threshold.fetch.warn": "1s", "index.search.slowlog.threshold.fetch.info": "500ms" }'
tail -100 /var/log/elasticsearch/prod-elasticsearch-532-cluster_index_search_slowlog.log
curl -X GET "localhost:9200/_tasks?detailed=true&actions=*search*&pretty"
curl -X GET "localhost:9200/_nodes/hot_threads"
|