“ELK” is the acronym for three open source projects: Elasticsearch, Logstash, and Kibana. Elasticsearch is a search and analytics engine. Logstash is a server‑side data processing pipeline that ingests data from multiple sources simultaneously, transforms it, and then sends it to a “stash” like Elasticsearch. Kibana lets users visualize data with charts and graphs in Elasticsearch.
Tips
This post reference to the doc. But Pod memory resource limit like:
$ curl http://192.168.16.11:30982/_cat/nodes?v ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name 10.244.83.116 1 8 2 0.22 0.39 0.32 i - es-ingest-1 10.244.244.20 8 9 4 0.47 0.75 0.69 m * es-master-0 10.244.83.115 3 8 3 0.22 0.39 0.32 d - es-data-1 10.244.244.21 1 9 3 0.47 0.75 0.69 i - es-ingest-0 10.244.84.27 6 9 4 0.15 0.47 0.67 m - es-master-1 10.244.83.114 6 8 3 0.22 0.39 0.32 m - es-master-2 10.244.84.26 4 9 3 0.15 0.47 0.67 d - es-data-2 10.244.244.19 2 9 3 0.47 0.75 0.69 d - es-data-0 10.244.84.31 1 9 2 0.15 0.47 0.67 i - es-ingest-2
elk indices
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
$ curl http://192.168.16.11:30982/_cat/indices?v health status index uuid pri rep docs.count docs.deleted store.size pri.store.size green open .kibana_task_manager DGLMxRtcQJWl_FTcSsOwJg 1 1 2 0 59.6kb 29.8kb green open .kibana_1 XzaoAq0CQXmvwfGuesZCUg 1 1 10 3 108.5kb 54.2kb green open nginx-access-2019.09.27 HzoYMc11QI68DDBtAmNU3g 1 1 3304714 0 4.1gb 1.9gb green open nginx-access-2019.09.16 hj229YYbQXWWVzPS5cWp8A 2 1 269961 0 337.2mb 168.1mb green open nginx-access-2019.09.28 VhVuxXQvSR-1GLWjKgTJsA 1 1 37900045 0 31.2gb 17gb green open nginx-access-2019.09.17 zsqJ4RcWQ5u7n59fcSiDww 2 1 534824 0 693.3mb 342.6mb green open nginx-access-2019.09.29 jrJqOpZTQ_C3jd3oD50oRQ 2 1 6986701 0 4.6gb 2.2gb green open nginx-access-2019.09.18 xvdO_S_5S4Kf30FexhjcMA 2 1 835914 0 1gb 531mb green open nginx-access-2019.09.19 LW45Dw6FRZ-PCRIPH1eO8g 2 1 805261 0 1gb 524.9mb green open nginx-access-2019.09.23 KkXMoqHhQ3iv9XOsDu5C5A 2 1 823928 0 1gb 523.4mb green open nginx-access-2019.09.24 9MM-wjLVTrm3UVQlfdCT4w 2 1 815697 0 1gb 527.3mb green open nginx-access-2019.09.25 uZU7v_kZQ3ObKXa3XWN1tg 2 1 808426 0 1gb 522.6mb green open nginx-access-2019.09.15 Ma8h8GmPQ7O8e6rXmfNGVg 2 1 521880 0 625.2mb 318.2mb green open nginx-access-2019.09.20 iRIpy6dJQCagViSf-uxwWw 2 1 843735 0 1gb 525.3mb green open nginx-access-2019.09.21 BvKQ8fsfTRm6nd2MzD7YFQ 2 1 208548 0 277.7mb 138.9mb