ELK(9)
-
[Elasticsearch] Request error: circuit_breaking_exception, [parent] Data too large, data for [<reused_arrays>] would be [517802104/493.8mb], which is larger than the limit of [510027366/486.3mb], real usage: [517801832/493.8mb], new bytes reserved: [272..
์ ๋ฒ ์ค๋ฅ์๋ kibana์์ Error in visualization [lens_merge_tables] > [esaggs] > Cannot read property ‘aggConfig’ of undefined ์ด๊ฑฐ์ ์ด์ด์ Request error: circuit_breaking_exception, [parent] Data too large, data for [] would be [517802104/493.8mb], which is larger than the limit of [510027366/486.3mb], real usage: [517801832/493.8mb], new bytes reserved: [272/272b], usages [request=22024/21.5kb, fielddata=1..
2021.10.13 -
[kibana] Error in visualization [lens_merge_tables] > [esaggs] > Cannot read property ‘aggConfig’ of undefined ํด๊ฒฐ๋ฐฉ๋ฒ
1.2์ต๊ฐ ๋ฐ์ดํฐ๋ฅผ ๋ฃ๊ณ , kibana์์ ์ธ๋ฑ์ค ํจํด ์์ฑ ํ ๋์ฌ๋ณด๋๋ฅผ ๋ง๋๋๋ฐ Error in visualization [lens_merge_tables] > [esaggs] > Cannot read property ‘aggConfig’ of undefined ์ด๋ฐ ์๋ฌ๊ฐ ๋ด๋ค..! ๊ฒจ์ฐ ๋ฐ์ดํฐ ์์งํ๊ณ , ๊ฐ๊ณตํด์ ๋์ฌ๋ณด๋ ๋ง๋๋๋ฐ ๊ฐ์๊ธฐ ์๋ผ์ ์ค๋ฅ ์์ธ์ ์ฐพ์๋ณด๊ธฐ ์ํด ๊ตฌ๊ธ๋งํด๋ณธ ๊ฒฐ๊ณผ ์์ด๋ผ ์ฌ์ค ๊ท์ฐฎ์์ ๋ค ์ฝ์ด๋ณด์ง๋ ์์๋๋ฐ ๋์ถฉ ๋ฐ์ดํฐ์ ํฌ๊ธฐ๊ฐ ๋๋ฌด ์ปค์ ์ธ๊ฑฐ๊ฐ๋ค. ์๋ํ๋ฉด ์ ๋๋ค๊ฐ ์ด์ ์ฐจํธ์ ์ฌ๋ฌ ํ๋๋ฅผ ์กฐํฉํด์ ํด์ ํ๋ ค๋๊น ์๋๊ธฐ ๋๋ฌธ์ด๋ค. ๊ทธ๋ฌ๋ฉด์ ๊ฐ์๊ธฐ elasticsearchd์ kibana ๋ชจ๋ ๋์์ด ์ ๋๋ก ๋์ง ์์๋ค. ์๊ฐ์๋ elasticsearch์ ํ ์ฌ์ด์ฆ๋ฅผ ๋..
2021.10.13 -
Elasticsearch Cluster, node ๋?
1. elasticsearch๋? ์ฆ, Elasticsearch๋ ๊ฒ์ ๋ฐ ๋ถ์ ์์ง์ด๋ค. 2. Cluster ๋? ํด๋ฌ์คํฐ๋ ํ๋ ์ด์์ ๋ ธ๋(์๋ฒ)๊ฐ ๋ชจ์ธ ๊ฒ์ผ๋ก, ์ด๋ฅผ ํตํด ์ ์ฒด ๋ฐ์ดํฐ๋ฅผ ์ ์ฅํ๊ณ , ๋ชจ๋ ๋ ธ๋๋ฅผ ํฌ๊ดํ๋ ํตํฉ ์์ธํ ๋ฐ ๊ฒ์ ๊ธฐ๋ฅ์ ์ ๊ณตํ๋ค. 3. Node ๋? ๋ ธ๋๋ ํด๋ฌ์คํฐ์ ํฌํจ๋ ๋จ์ผ ์๋ฒ๋ก, ๋ฐ์ดํฐ๋ฅผ ์ ์ฅํ๊ณ ํด๋ฌ์คํฐ์ ์์ธํ ๋ฐ ๊ฒ์ ๊ธฐ๋ฅ์ ์ฐธ์ฌํ๋ค. ์ํ๋ค๋ฉด ๊ธฐ๋ณธ ์ด๋ฆ ๋์ ์ด๋ค ๋ ธ๋ ์ด๋ฆ๋ ์ ์ํ ์ ์๋ค. -> ์ด๋ ๊ด๋ฆฌ ๋ชฉ์ ์ผ๋ก ์ค์ํ๋ค. ๋คํธ์ํฌ์ ์ด๋ค ์๋ฒ๊ฐ Elasticsearch ํด๋ฌ์คํฐ์ ์ด๋ค ๋ ธ๋์ ํด๋นํ๋์ง ์๋ณํด์ผํ๊ธฐ ๋๋ฌธ์ด๋ค. 4. index ๋? ์ธ๋ฑ์ค๋ ๋ค์ ๋น์ทํ ํน์ฑ์ ๊ฐ์ง ๋ฌธ์์ ๋ชจ์์ด๋ค. ex) ๊ณ ๊ฐ ๋ฐ์ดํฐ์ ๋ํ ์์ธ, ์ ํ ์นดํ๋ก๊ทธ์ ..
2021.10.06 -
Elasticsearch Security ์ค์ ํ๋ ๋ฐฉ๋ฒ
Elasticsearch 7.x ๋ฒ์ ๋ถํฐ๋ security ์ค์ ์ด ํ์์ธ๊ฒ ๊ฐ๋ค,, ๊ณ์ ๋ฌด์ํ๊ณ ๊ทธ๋ฅ ํ๋ค๊ฐ kibana ๋ก ์๊ฐํํ๋๊ฒ์ข ๋ณด๋ ค๊ณ ํ๋๋ฐ ๊ฒฝ๊ณ ์๋ฆผ์ด ๋์ด์ด๋ฌด ๋ง์ด ์์ ๊ฒฐ๊ตญ security ์ค์ ํ๊ธฐ๋ก ใ ใ .. 1. elasticsearch.yml ํ์ผ ์์ ํ๊ธฐ xpack.security.enabled: true xpack.security.transport.ssl.enabled: true ์ด๊ฑฐ ์ถ๊ฐํ๊ณ ์ ์ฅํ๋ค. 2. ๊ทธ๋ฆฌ๊ณ elasticsearch ๋ค์ ์คํํ๊ธฐ 3. bin/elasticsearch-setup-passwords interactive ๋ช ๋ น ์คํ ๋ญ๋ผ๊ณ ๋ญ๋ผ๊ณ ์ง๋ฌธํ ๊ฑด๋ฐ ๊ทธ๋ฅ y ํ๋ฉด ๋๋ค. ์ด๋ ๊ฒ ๋ฐ๊ฑด๋ฐ ๊ทธ๋ผ ์ํ๋ ๋น๋ฐ๋ฒํธ ์ ๋ ฅํ๋ฉด ๋๋ค. 4. kibana ์์ ํ๊ธฐ ์ด..
2021.09.30 -
Filebeat ์ค์นํ๊ธฐ
์ด์ elk์ elasticsearch์ logstash, kibana๋ ๋ชจ๋ ์ค์น๊ฐ ์๋ฃ ๋๊ณ .. ๋ง์ง๋ง์ผ๋ก elk stack์ beats๋ฅผ ์ค์นํ๋ฉด ๋.?์ด๋ค! Beats์๋ ์ข ๋ฅ๊ฐ ์ฌ๋ฌ๊ฐ์ง๊ฐ ์๋๋ฐ https://www.elastic.co/kr/downloads/beats/ Download Beats: Data Shippers for Elasticsearch Easily ingest data into Elasticsearch using Beats, lightweight data shippers for the Elastic Stack to handle log files, CPU metrics, network data, and more. www.elastic.co ๊ทธ์ค ๋๋ log ๋ฐ์ดํฐ๋ฅผ ์์งํ ์์ ..
2021.09.29 -
Logstash ์ค์นํ๊ธฐ
1. logstash ์ค์น ๋งํฌ ๋ณต์ฌํ๊ธฐ https://www.elastic.co/kr/downloads/logstash Download Logstash Free | Get Started Now | Elastic Download Logstash or the complete Elastic Stack (formerly ELK stack) for free and start collecting, searching, and analyzing your data with Elastic in minutes. www.elastic.co linux๋ก ๋งํฌ์ฃผ์ ๋ณต์ฌํ๊ธฐ 2. logstash ์ค์นํ๊ธฐ tar ์์ถ ํ๊ธฐ ๊ทธ๋ฆฌ๊ณ files๋ผ๋ ํด๋๋ก tar ํ์ผ์ ๋ชจ๋ ์ฎ๊ฒจ์คฌ๋ค! 3. logstash ์คํํ๊ธฐ stand inpu..
2021.09.29 -
Kibana ์คํํ๊ธฐ
1. kibana ์ค์นํ๊ธฐ https://www.elastic.co/kr/downloads/kibana Download Kibana Free | Get Started Now | Elastic Download Kibana or the complete Elastic Stack (formerly ELK stack) for free and start visualizing, analyzing, and exploring your data with Elastic in minutes. www.elastic.co ์ฌ๊ธฐ์์ LINUX 64-BIT๋ก ๋งํฌ ์ฃผ์๋ณต์ฌ ํ wget ๋งํฌ ํ๊ณ tar ์์ถ ํ๋ฉด ๋๋ค. ์ด ๋ฐฉ๋ฒ์ Elasticsearch์์ ํ๋ ๋ฐฉ์ ๊ทธ๋๋ก ํ๋ฉด ๋๋ค. kibana ์ญ์ ์ด๋ฆ์ kb-715๋ก ์ค์ ..
2021.09.24 -
Elasticsearch ์ค์นํ๊ธฐ โญโญโญ
1. Elasticsearch url ๋ค์ด๋ก๋ ๋งํฌ ์ฃผ์ ๋ณต์ฌ https://www.elastic.co/kr/downloads/ Elastic ์ ํ์ ๋ค์ด๋ก๋ | Elastic Elasticsearch, Logstash, Kibana ๋ฐ Beats๋ฅผ ๋ฌด๋ฃ๋ก ๋ค์ด๋ก๋ํ๊ณ ๋ช ๋ถ ๋ด์ Elastic APM, Elastic App Search, Elastic Workplace Search ๋ฑ์ ์์ํ์ธ์. www.elastic.co 2. ํฐ๋ฏธ๋์์ wget ๋ช ๋ น์ด๋ก ๋ค์ด๋ก๋ 3. tar ์์ถํ์ผ ํด์ ํ๊ธฐ tar xfzvํ๋ฉด ์์ถํ์ผ ํด์ ํ๋ ๊ณผ์ ์ ๋ค ๋ณด์ฌ์ค๋ค. 4. files๋ผ๋๋๋ ํ ๋ฆฌ๋ฅผ ์๋ก ๋ง๋ค์ด tar ํ์ผ์ ์ด๋ํ๊ธฐ 5. elsaticsearch ์ด๋ฆ ๋ณ๊ฒฝํ๊ธฐ -> es-715 6. elasticse..
2021.09.24 -
1) ELK๋?
1. ELK Stack์ด๋? ELK๋ ์ธ๊ธฐ์ ์ ์ฝ์๋ก Elasticsearch ์ Logstash, Kibana์ ์๊ธ์๋ค๋ก ELK๋ผ๋ ๋๋ฌผ์ด ์์ด์ ๋จ์ด์ ์์๋ฅผ ELK ๋ก ์ถ์ฝํ ๊ฒ ๊ฐ๋ค. ํํ์ด์ง์ ์ค๋ช ์ ๋ฐ๋ฅด๋ฉด ELK Stack ์ด๋ Elasticsearch, Logstash ๋ฐ kibana ์ด ์คํ์์ค ํ๋ก์ ํธ ์ธ๊ฐ์ ๋จธ๋ฆฌ๊ธ์์ด๋ค. Elasticsearch ๋ ๊ฒ์ ๋ฐ ๋ถ์ ์์ง์ด๋ค. (๋ก๊ทธ ์ ์ฅ ๋ฐ ๊ฒ์) Logstash ๋ ์ฌ๋ฌ ์์ค์์ ๋์์ ๋ฐ์ดํฐ๋ฅผ ์์งํ์ฌ ๋ณํํ ํ Elasticsearch์ ๊ฐ์ "stash"๋ก ์ ์กํ๋ ์๋ฒ ์ฌ์ด๋ ๋ฐ์ดํฐ ์ฒ๋ฆฌ ํ์ดํ๋ผ์ธ์ด๋ค. (๋ก๊ทธ ์์ง ์์ง) Kibana๋ ์ฌ์ฉ์๊ฐ Elasticsearch ์์ ์ฐจํธ์ ๊ทธ๋ํ๋ฅผ ์ด์ฉํด ๋ฐ์ดํฐ๋ฅผ ์๊ฐํํ ์ ์๊ฒ ..
2021.09.15