{"id":1239,"date":"2021-01-15T00:03:20","date_gmt":"2021-01-14T15:03:20","guid":{"rendered":"http:\/\/leenux.kr\/?p=1239"},"modified":"2021-01-20T15:36:28","modified_gmt":"2021-01-20T06:36:28","slug":"ubuntu20-elasticsearch-kibana-%eb%b3%b4%ec%95%88-%ea%b8%b0%eb%8a%a5-%ed%99%9c%ec%84%b1%ed%99%94","status":"publish","type":"post","link":"https:\/\/leenux.kr\/?p=1239","title":{"rendered":"[Ubuntu] Elasticsearch, Kibana \ubcf4\uc548 \uae30\ub2a5 \ud65c\uc131\ud654"},"content":{"rendered":"\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>Kibana, Elasticsearch\uc5d0\uc11c\ub294 \ub77c\uc774\uc13c\uc2a4\uac00 basic, trial\uc77c \uacbd\uc6b0\uc5d0\ub294 \uae30\ubcf8\uc801\uc73c\ub85c \ubcf4\uc548 \uae30\ub2a5\uc774 \ube44\ud65c\uc131\ud654 \ub418\uc5b4 \uc788\uc5b4 host\uac00 0.0.0.0\uc73c\ub85c \ubaa8\ub450 \uc811\uc18d\uc744 \ud5c8\uc6a9\ud560 \uacbd\uc6b0 \ud574\ud0b9\uc744 \ub2f9\ud558\ub294 \uc77c\uc774 \uc790\uc8fc \ubc1c\uc0dd\ub418\uc5b4 \ubcf4\uc548 \uae30\ub2a5\uc744 \uaf2d \ud65c\uc131\ud654 \ud574\uc8fc\uc5b4\uc57c\ub41c\ub2e4. <\/strong><\/p>\n\n\n\n<p class=\"has-text-color has-very-dark-gray-color\"><strong>Elasticsearch, Kibana \uc11c\ube44\uc2a4 \uc911\ub2e8<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl stop elasticsearch &amp;&amp; systemctl stop kibana<\/code><\/pre>\n\n\n\n<p class=\"has-text-color has-very-dark-gray-color\"><strong>Elasticsearch \ubcf4\uc548 \uae30\ub2a5 \ud65c\uc131\ud654<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/elasticsearch\/elasticsearch.yml<\/code><\/pre>\n\n\n\n<p class=\"has-text-color has-very-dark-gray-color\"><strong>\ub9c8\uc9c0\ub9c9 \ubd80\ubd84\uc5d0 \ucf54\ub4dc \ucd94\uac00 <\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>xpack.security.enabled: true<\/code><\/pre>\n\n\n\n<p style=\"text-align:left\" class=\"has-text-color has-very-dark-gray-color\"><strong>\uae30\ubcf8\uc0ac\uc6a9\uc790 \uc124\uc815<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \uc790\ub3d9\uc73c\ub85c \uc0ac\uc6a9\uc790 \uc0dd\uc131 (\ube44\ubc00\ubc88\ud638 \uc790\ub3d9\uc73c\ub85c \uc124\uc815\ub428)\n\/usr\/share\/elasticsearch\/bin\/elasticsearch-setup-passwords auto \n# \uc9c1\uc811 \uc0ac\uc6a9\uc790 \uc0dd\uc131\n\/usr\/share\/elasticsearch\/bin\/elasticsearch-setup-passwords interactive<\/code><\/pre>\n\n\n\n<p class=\"has-text-color has-very-dark-gray-color\"><strong>Kibana \ubcf4\uc548 \uae30\ub2a5 \ud65c\uc131\ud654<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/kibana\/kibana\/yml<\/code><\/pre>\n\n\n\n<p class=\"has-text-color has-very-dark-gray-color\"><strong>\ub9c8\uc9c0\ub9c9 \ubd80\ubd84\uc5d0 \ucf54\ub4dc \ucd94\uac00<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>elasticsearch.username: \"kibana_system\"\nelasticsearch.password: \"password\"\nxpack.security.enabled: true<\/code><\/pre>\n\n\n\n<p class=\"has-text-color has-very-dark-gray-color\"><strong>Elasticsearch, Kibana \uc11c\ube44\uc2a4 \uc2dc\uc791<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl start elasticsearch &amp;&amp; systemctl start kibana<\/code><\/pre>\n\n\n\n<p class=\"has-text-color has-very-dark-gray-color\"><strong>Kibana \ud655\uc778<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"854\" height=\"735\" src=\"http:\/\/leenux.kro.kr\/wp-content\/uploads\/2020\/12\/image-6.png\" alt=\"\" class=\"wp-image-1131\" srcset=\"https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-6.png 854w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-6-300x258.png 300w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-6-768x661.png 768w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-6-830x714.png 830w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-6-230x198.png 230w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-6-350x301.png 350w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-6-480x413.png 480w\" sizes=\"(max-width: 854px) 100vw, 854px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>[Ubuntu] Elasticsearch, Kibana \ubcf4\uc548 \uae30\ub2a5 \ud65c\uc131\ud654\ud558\uae30 <\/p>\n","protected":false},"author":1,"featured_media":1130,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[29,28,33],"tags":[],"_links":{"self":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1239"}],"collection":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1239"}],"version-history":[{"count":4,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1239\/revisions"}],"predecessor-version":[{"id":1278,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1239\/revisions\/1278"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/media\/1130"}],"wp:attachment":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}