Elasticsearch(4)
-
[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 -
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 -
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