{"id":1150,"date":"2020-12-22T17:14:43","date_gmt":"2020-12-22T08:14:43","guid":{"rendered":"http:\/\/leenux.kr\/?p=1150"},"modified":"2020-12-22T17:14:43","modified_gmt":"2020-12-22T08:14:43","slug":"beats-install-metricbeat-and-run-on-windows-10","status":"publish","type":"post","link":"https:\/\/leenux.kr\/?p=1150","title":{"rendered":"[Beats] Install Metricbeat and run on Windows 10"},"content":{"rendered":"\n<p class=\"has-text-color has-large-font-size has-very-dark-gray-color\"><strong>Metricbeat\ub780?<\/strong><\/p>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\uc2dc\uc2a4\ud15c\uacfc \uc11c\ube44\uc2a4\uc5d0\uc11c \uba54\ud2b8\ub9ad\uc744 \uc218\uc9d1\uae30\uba70 CPU\ubd80\ud130 \uba54\ubaa8\ub9ac, Redis, NGINX\uae4c\uc9c0 Metricbeat\ub97c \ud1b5\ud574 \ub2e4\uc591\ud55c \uc2dc\uc2a4\ud15c \uc11c\ube44\uc2a4 \ud1b5\uacc4\ub97c \uac00\ubccd\uac8c \uc804\uc1a1\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/strong><\/p>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\uc708\ub3c4\uc6b0 10 &#8211; 64bit .zip \uc124\uce58 <\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><a href=\"https:\/\/www.elastic.co\/kr\/downloads\/beats\/metricbeat\">https:\/\/www.elastic.co\/kr\/downloads\/beats\/metricbeat<\/a><\/p>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\uc124\uce58 \ud6c4 Zip \ub2e4\uc6b4\ub85c\ub4dc\uc5d0 \ud480\uace0 Metricbeats\uc73c\ub85c \uc774\ub984 \ubcc0\uacbd \ud6c4 C:\\Program Files\uc5d0 \ud574\ub2f9 \ud30c\uc77c \ubcf5\uc0ac <\/strong><\/p>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>metricbeat.yml \ud30c\uc77c -> \uc18d\uc131 -> \ubcf4\uc548 -> Users -> \ud3b8\uc9d1 -> \ubaa8\ub4e0 \uad8c\ud55c \ubd80\uc5ec \uccb4\ud06c<\/strong><\/p>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>metricbeat.yml \ud30c\uc77c \uc5f4\uace0 \ud574\ub2f9 \ubd80\ubd84 \uc218\uc815<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># ---------------------------- Elasticsearch Output ----------------------------\noutput.elasticsearch:\n  # Array of hosts to connect to.\n  hosts: [\"192.168.0.xxx:9200\"] # elasticsearch \uc11c\ubc84 \ud0c0\uae43 \ucf54\ub4dc\n\n  # Protocol - either `http` (default) or `https`.\n  #protocol: \"https\"\n\n  # Authentication credentials - either API key or username\/password.\n  #api_key: \"id:api_key\"\n  #username: \"elastic\"\n  #password: \"changeme\"<\/code><\/pre>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>cmd \uad00\ub9ac\uc790 \uad8c\ud55c\uc73c\ub85c \uc2e4\ud589 \ud6c4 \uc2e4\ud589 <\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd 'C:\\Program Files\\metricbeat'\n.\\install-service-metricbeat.ps1\nPowerShell.exe -ExecutionPolicy UnRestricted -File .\\install-service-metricbeat.ps1<\/code><\/pre>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\uc11c\ube44\uc2a4 \uc2dc\uc791<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"806\" height=\"593\" src=\"http:\/\/leenux.kro.kr\/wp-content\/uploads\/2020\/12\/image-7.png\" alt=\"\" class=\"wp-image-1152\" srcset=\"https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-7.png 806w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-7-300x221.png 300w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-7-768x565.png 768w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-7-230x169.png 230w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-7-350x258.png 350w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-7-480x353.png 480w\" sizes=\"(max-width: 806px) 100vw, 806px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>Kibana \uc811\uc18d \ud6c4 Index \ud655\uc778 <\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"1024\" height=\"366\" src=\"http:\/\/leenux.kro.kr\/wp-content\/uploads\/2020\/12\/image-9-1024x366.png\" alt=\"\" class=\"wp-image-1154\" srcset=\"https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-9-1024x366.png 1024w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-9-300x107.png 300w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-9-768x274.png 768w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-9-830x296.png 830w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-9-230x82.png 230w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-9-350x125.png 350w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-9-480x171.png 480w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-9.png 1297w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\ud655\uc778 \uc2dc  Index patterns \uc774\ub3d9<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" src=\"http:\/\/leenux.kro.kr\/wp-content\/uploads\/2020\/12\/image-10.png\" alt=\"\" class=\"wp-image-1155\" width=\"298\" height=\"612\" srcset=\"https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-10.png 386w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-10-146x300.png 146w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-10-230x473.png 230w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-10-350x719.png 350w\" sizes=\"(max-width: 298px) 100vw, 298px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"830\" height=\"457\" src=\"http:\/\/leenux.kro.kr\/wp-content\/uploads\/2020\/12\/image-11.png\" alt=\"\" class=\"wp-image-1156\" srcset=\"https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-11.png 830w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-11-300x165.png 300w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-11-768x423.png 768w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-11-230x127.png 230w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-11-350x193.png 350w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-11-480x264.png 480w\" sizes=\"(max-width: 830px) 100vw, 830px\" \/><\/figure>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\uc778\ub371\uc2a4 \ub123\uc5b4 \uc900 \ub4a4 \ud655\uc778<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"1024\" height=\"458\" src=\"http:\/\/leenux.kro.kr\/wp-content\/uploads\/2020\/12\/image-12-1024x458.png\" alt=\"\" class=\"wp-image-1157\" srcset=\"https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-12-1024x458.png 1024w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-12-300x134.png 300w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-12-768x344.png 768w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-12-830x372.png 830w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-12-230x103.png 230w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-12-350x157.png 350w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-12-480x215.png 480w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-12.png 1204w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>@timestamp : \uc2dc\uac04\uc73c\ub85c \uc800\uc7a5<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"1024\" height=\"496\" src=\"http:\/\/leenux.kro.kr\/wp-content\/uploads\/2020\/12\/image-13-1024x496.png\" alt=\"\" class=\"wp-image-1158\" srcset=\"https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-13-1024x496.png 1024w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-13-300x145.png 300w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-13-768x372.png 768w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-13-830x402.png 830w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-13-230x111.png 230w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-13-350x169.png 350w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-13-480x232.png 480w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-13.png 1295w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>Observability \uc811\uc18d<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"1024\" height=\"196\" src=\"http:\/\/leenux.kro.kr\/wp-content\/uploads\/2020\/12\/image-14-1024x196.png\" alt=\"\" class=\"wp-image-1160\" srcset=\"https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-14-1024x196.png 1024w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-14-300x57.png 300w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-14-768x147.png 768w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-14-830x159.png 830w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-14-230x44.png 230w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-14-350x67.png 350w, https:\/\/leenux.kr\/wp-content\/uploads\/2020\/12\/image-14-480x92.png 480w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Metricbeat\ub780? \uc2dc\uc2a4\ud15c\uacfc \uc11c\ube44\uc2a4\uc5d0\uc11c \uba54\ud2b8\ub9ad\uc744 \uc218\uc9d1\uae30\uba70 CPU\ubd80\ud130 \uba54\ubaa8\ub9ac, Redis, NGINX\uae4c\uc9c0 Metricbeat\ub97c \ud1b5\ud574 \ub2e4\uc591\ud55c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1151,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[31],"tags":[],"_links":{"self":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1150"}],"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=1150"}],"version-history":[{"count":2,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1150\/revisions"}],"predecessor-version":[{"id":1161,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1150\/revisions\/1161"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/media\/1151"}],"wp:attachment":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}