Elasticsearch + Kibana

Simba_bยท2022๋…„ 10์›” 26์ผ
0

Elatsticsearch

๋ชฉ๋ก ๋ณด๊ธฐ
3/5
post-thumbnail

๐Ÿ’ป Kibana ์„ค์น˜

๐Ÿ“Œ ๋ฒ„์ „ ์ •๋ณด
Ubuntu : 18.04
elasticsearch : 7.17.7
kibana : 7.17.7


โŒจ๏ธ kibana ์„ค์น˜

sudo apt-get update && sudo apt-get install kibana

โŒจ๏ธ kibana ์„ค์ •

sudo vi /etc/kibana/kibana.yml
  1. ํ•ด๋‹น ์œ„์น˜์—๊ฐ€์„œ i ๋ˆ„๋ฅด๊ณ  ์ฃผ์„ ์ง€์šฐ๊ณ  server.port๋ฒˆํ˜ธ ํ™•์ธ
    server.host localhost์—์„œ 0.0.0.0์œผ๋กœ ๋ณ€๊ฒฝ
  2. elasticsearch.host : ["http://localhost:9200"] ์ฃผ์„ ํ•ด์ œ
  3. esc๋ˆ„๋ฅด๊ณ  :wq ๋ˆŒ๋Ÿฌ ์ €์žฅ
  4. kibana ์žฌ์‹œ์ž‘

elasticsearch์™€ ์—ฐ๊ฒฐ๋˜์–ด elasticsearch๊ฐ€ ๊บผ์ ธ์žˆ์œผ๋ฉด ์ผœ์ง€์ง€ ์•Š๋Š”๋‹ค.


โŒจ๏ธ kibana ์‹คํ–‰

sudo service kibana start

kibana started ์ถœ๋ ฅ


โŒจ๏ธ kibana ์ƒํƒœ ํ™•์ธ

sudo service kibana status

์‹คํ–‰ ์ƒํƒœ์ผ ๊ฒฝ์šฐ kibana is running ์ถœ๋ ฅ


โŒจ๏ธ kibana ์ค‘๋‹จ

sudo service kibana stop

kibana stopped์ถœ๋ ฅ



๐Ÿ’ป Kibana ์‹คํ–‰

kibana home

http://localhost:5601 ์ ‘์†


kibana devtools

  • ์™ผ์ชฝ ๋ฉ”๋‰ดํƒญ์—์„œ ์ด์šฉ
  • ์ฝ˜์†”์„ ์ด์šฉ์‹œ UI๊ฐ€ ๋ณด๊ธฐ ์ข‹์Œ
  • ์™ผ์ชฝ์ฐฝ : ์ฝ˜์†”์ž…๋ ฅ / ์˜ค๋ฅธ์ชฝ : ๊ฒฐ๊ณผ ํ™•์ธ(JSONํ˜•ํƒœ)

ํ˜„์žฌ ๋ฐ์ดํ„ฐ๊ฐ€ ๋“ค์–ด์žˆ์ง€ ์•Š์•„ ์ธ๋ฑ์Šค ๋ชฉ๋ก๋งŒ ํ™•์ธ

0๊ฐœ์˜ ๋Œ“๊ธ€