linux:elastic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:elastic [2023/07/12 15:55] adminlinux:elastic [2024/07/14 12:08] (current) – [Elastic Search ELK] admin
Line 1: Line 1:
 ====== Elastic Search ELK ====== ====== Elastic Search ELK ======
   * https://github.com/deviantony/docker-elk - start in compose   * https://github.com/deviantony/docker-elk - start in compose
 +  * https://habr.com/ru/articles/671344/ - elk stack
 ===== ELK.commands1 ===== ===== ELK.commands1 =====
  
 <code BASH> <code BASH>
 +
 +curl 127.0.0.1:9200/_cluster/health?pretty
 +
 +curl 127.0.0.1:9200/_cat/indices?v
 +
 #get  names of all indicies in red status #get  names of all indicies in red status
 curl 127.0.0.1:9200/_cluster/health/?level=shards | jq -r '.indices  | to_entries | map(select(.value.status == "yellow")) | .[].key' curl 127.0.0.1:9200/_cluster/health/?level=shards | jq -r '.indices  | to_entries | map(select(.value.status == "yellow")) | .[].key'
  • linux/elastic.1689177356.txt.gz
  • Last modified: 2023/07/12 15:55
  • by admin