๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
Infra/Kubernetes

[k8s] Kubernetes ๋กœ๊ทธ - EFK ๊ฐœ์š”

by The Future Engineer, Lucy 2024. 9. 28.
728x90
๋ฐ˜์‘ํ˜•

EFK๋ž€?

Elasticsearch+Fluent Bit/Fluentd+Kibana์˜ ์กฐํ•ฉ์„ ๋งํ•ฉ๋‹ˆ๋‹ค. ๊ฐ๊ฐ์˜ ์•ž๊ธ€์ž๋ฅผ ๋”ฐ์„œ EFK๋ผ๊ณ  ํ•ฉ๋‹ˆ๋‹ค. ๋กœ๊ทธ๋ฐ์ดํ„ฐ๋ฅผ ์ˆ˜์ง‘, ์ €์žฅ, ๋ถ„์„ํ•˜๊ณ  ์‹œ๊ฐํ™”ํ•˜๋Š” ๋ฐ ์‚ฌ์šฉ๋˜๋Š” ์˜คํ”ˆ ์†Œ์Šค ์Šคํƒ์ž…๋‹ˆ๋‹ค.

Flunetd์™€ Fluent Bit๋ž€?

Fluentd๋Š” ๋‹ค์–‘ํ•œ ์†Œ์Šค์—์„œ ์—ฌ๋Ÿฌ ๋ชฉ์ ์ง€๋กœ ๋กœ๊ทธ๋ฅผ ์ˆ˜์ง‘, ์ฒ˜๋ฆฌ ๋ฐ ๋ผ์šฐํŒ… ํ•˜๋„๋ก ์„ค๊ณ„๋œ ๊ณต๊ธ‰์—…์ฒด ์ค‘๋ฆฝ์ ์ธ ์˜คํ”ˆ ์†Œ์Šค ๋กœ๊ทธ ์ˆ˜์ง‘๊ธฐ์ž…๋‹ˆ๋‹ค.

Fluent Bit๋Š” ์ž„๋ฒ ๋””๋“œ ๋ฆฌ๋ˆ…์Šค, ๊ฒŒ์ดํŠธ์›จ์ด, ์ปจํ…Œ์ด๋„ˆํ™”๋œ ์—์ฝ”์‹œ์Šคํ…œ๊ณผ ๊ฐ™์ด ๊ฐ€๋ณ๊ณ  ๋ฆฌ์†Œ์Šค๊ฐ€ ์ œํ•œ๋œ ํ™˜๊ฒฝ์„ ์œ„ํ•ด ๋ช…์‹œ์ ์œผ๋กœ ์„ค๊ณ„๋œ ๊ณต๊ธ‰์—…์ฒด ์ค‘๋ฆฝ ์˜คํ”ˆ์†Œ์Šค ๋กœ๊ทธ ์ˆ˜์ง‘๊ธฐ์ž…๋‹ˆ๋‹ค. Fluented์™€ ๋งˆ์ฐฌ๊ฐ€์ง€๋กœ Fluent Bit์€ ๋‹ค์–‘ํ•œ ์†Œ์Šค์—์„œ ์—ฌ๋Ÿฌ ๋ชฉ์ ์ง€๋กœ ๋กœ๊ทธ๋ฅผ ์ˆ˜์ง‘, ์ฒ˜๋ฆฌ ๋ฐ ๋ผ์šฐํŒ… ํ•˜๋Š” ๋ฐ ๋Šฅ์ˆ™ํ•ฉ๋‹ˆ๋‹ค.

Fluentd์™€ Fluent Bit์˜ ์ฐจ์ด์ ์€ ์•„๋ž˜์˜ ๊ทธ๋ฆผ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

 

Fluentd & Fluent Bit | Fluent Bit: Official Manual

The production grade telemetry ecosystem

docs.fluentbit.io

Fluentd์™€ Fluent Bit์— ๋Œ€ํ•ด์„œ ์ž์„ธํ•œ ๋‚ด์šฉ์€ ๊ณต์‹ ๋ฌธ์„œ๋ฅผ ์ฐธ๊ณ ํ•˜์‹œ๊ธธ ๋ฐ”๋ž๋‹ˆ๋‹ค.

Elasticsearch๋ž€?

Elasticsearch๋Š” Apache Lucene์„ ๊ธฐ๋ฐ˜์œผ๋กœ ๊ตฌ์ถ•๋œ ๋ถ„์‚ฐ ๊ฒ€์ƒ‰ ๋ฐ ๋ถ„์„ ์—”์ง„, ํ™•์žฅ ๊ฐ€๋Šฅํ•œ ๋ฐ์ดํ„ฐ ์ €์žฅ์†Œ, ๋ฒกํ„ฐ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์ž…๋‹ˆ๋‹ค. ํ”„๋กœ๋•์…˜ ๊ทœ๋ชจ์˜ ์›Œํฌ๋กœ๋“œ์—์„œ ์†๋„์™€ ๊ด€๋ จ์„ฑ์— ์ตœ์ ํ™”๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. Elasticsearch๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋ชจ๋“  ๋ชจ์–‘๊ณผ ํฌ๊ธฐ์˜ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฑฐ์˜ ์‹ค์‹œ๊ฐ„์œผ๋กœ ๊ฒ€์ƒ‰, ์ธ๋ฑ์‹ฑ, ์ €์žฅ ๋ฐ ๋ถ„์„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

 

Elasticsearch basics | Elasticsearch Guide [8.15] | Elastic

This guide covers the core concepts you need to understand to get started with Elasticsearch. If you’d prefer to start working with Elasticsearch right away, set up a local development environment and jump to hands-on code examples. This guide covers the

www.elastic.co

Kibana๋ž€?

Kibana๋Š” ๋ฐ์ดํ„ฐ ์‹œ๊ฐํ™” ๋ฐ ๋ถ„์„ ๋„๊ตฌ์ž…๋‹ˆ๋‹ค. Elasticsearch์—์„œ ์ €์žฅ๋œ ๋ฐ์ดํ„ฐ๋ฅผ ์‰ฝ๊ฒŒ ์‹œ๊ฐํ™”ํ•˜๊ณ  ํƒ์ƒ‰ํ•  ์ˆ˜ ์žˆ๋Š” ์›น ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. Kibana๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ด์œ ๋กœ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค.

    • ๋กœ๊น…๊ณผ ๋กœ๊ทธ ๋ถ„์„
    • ์ธํ”„๋ผ ๋งคํŠธ๋ฆญ๊ณผ ์ปจํ…Œ์ด๋„ˆ ๋ชจ๋‹ˆํ„ฐ๋ง
    • ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์„ฑ๋Šฅ ๋ชจ๋‹ˆํ„ฐ๋ง
    • ์œ„์น˜๊ธฐ๋ฐ˜ ์ •๋ณด ๋ฐ์ดํ„ฐ ๋ถ„์„๊ณผ ์‹œ๊ฐํ™”
    • ๋ณด์•ˆ ๋ถ„์„ ๋ฐ ๋น„์ฆˆ๋‹ˆ์Šค ๋ถ„์„
    • ์›น ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ํ†ตํ•œ Elastic Stack ์ธ์Šคํ„ด์Šค๋ฅผ ๋ชจ๋‹ˆํ„ฐ๋งํ•˜๋ฉฐ ๊ด€๋ฆฌ ๋ฐ ๋ณด์•ˆ
 

Kibana—your window into Elastic | Kibana Guide [8.15] | Elastic

Kibana—your window into Elastic edit Kibana enables you to give shape to your data and navigate the Elastic Stack. With Kibana, you can: Search, observe, and protect your data. From discovering documents to analyzing logs to finding security vulnerabilit

www.elastic.co

์ด ๋‹ค์Œ ๊ธ€์€ EFK ๊ตฌ์ถ•์— ๋Œ€ํ•ด ์ž‘์„ฑํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.

728x90
๋ฐ˜์‘ํ˜•