{"id":4186,"date":"2025-07-16T19:55:16","date_gmt":"2025-07-16T16:55:16","guid":{"rendered":"https:\/\/cloudvps.by\/community\/?p=4186"},"modified":"2025-07-16T20:00:16","modified_gmt":"2025-07-16T17:00:16","slug":"nastrojka-elk-elasticsearch-logstash-kibana-na-vps","status":"publish","type":"post","link":"https:\/\/cloudvps.by\/community\/nastrojka-elk-elasticsearch-logstash-kibana-na-vps\/","title":{"rendered":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 ELK (Elasticsearch, Logstash, Kibana) \u043d\u0430 VPS: \u043c\u043e\u0439 \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u0442\u0435\u043a \u0434\u043b\u044f \u043b\u043e\u0433\u043e\u0432"},"content":{"rendered":"\n<p>\u041a\u043e\u0433\u0434\u0430 \u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u0430 \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0437\u0430 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432, \u043b\u043e\u0433\u0438 \u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u043c\u043d\u0435 \u0447\u0435\u043c-\u0442\u043e \u0432\u0442\u043e\u0440\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u044b\u043c. \u041d\u0443 \u0443\u043f\u0430\u043b\u0430 \u0441\u043b\u0443\u0436\u0431\u0430 \u2014 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0430. \u041d\u0443 \u043a\u0442\u043e-\u0442\u043e \u043f\u043e\u0441\u0442\u0443\u0447\u0430\u043b\u0441\u044f \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u0439 <a href=\"https:\/\/cloudvps.by\/community\/docs\/glossarij\/terminy\/port\/\" data-internallinksmanager029f6b8e52c=\"225\" title=\"Port (\u041f\u043e\u0440\u0442 )\">\u043f\u043e\u0440\u0442<\/a> \u2014 \u043d\u0443 \u0438 \u043b\u0430\u0434\u043d\u043e. \u041d\u043e \u0447\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u0443 \u043c\u0435\u043d\u044f \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u043e\u0441\u044c <a href=\"https:\/\/cloudvps.by\/servers\/vps\/vps_server.php\" data-internallinksmanager029f6b8e52c=\"4\" title=\"VPS \u0445\u043e\u0441\u0442\u0438\u043d\u0433\">VPS<\/a> \u2014 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432, \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432, \u0442\u0435\u0441\u0442\u043e\u0432 \u2014 \u0442\u0435\u043c \u0441\u0438\u043b\u044c\u043d\u0435\u0435 \u044f \u043e\u0441\u043e\u0437\u043d\u0430\u0432\u0430\u043b\u0430: <strong>\u0431\u0435\u0437 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0432 \u0442\u0435\u043c\u043d\u043e\u0442\u0435<\/strong>.<\/p>\n\n\n\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0430 <strong>ELK stack<\/strong> \u2014 \u043e\u043d \u0436\u0435 <strong>Elasticsearch, Logstash, Kibana<\/strong> \u2014 \u043d\u0430 \u043e\u0431\u044b\u0447\u043d\u043e\u043c VPS \u0441 Ubuntu, \u0438 \u0447\u0442\u043e \u044f \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u043d\u0435\u0441\u043b\u0430. \u0412\u0441\u0451 \u043f\u043e-\u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u0438, \u0441 \u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u0435\u043c, \u0437\u0430\u0447\u0435\u043c \u043a\u0430\u0436\u0434\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043d\u0443\u0436\u043d\u0430 \u0438 \u043a\u0430\u043a \u043d\u0435 \u0437\u0430\u0431\u043b\u0443\u0434\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u044d\u0442\u0430\u043f\u0435.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u0417\u0430\u0447\u0435\u043c \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0443\u0436\u0435\u043d ELK?<\/h2>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u043a\u043e\u0440\u043e\u0442\u043a\u043e: ELK \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 <strong>\u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c, \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438 \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043b\u043e\u0433\u0438<\/strong>. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0447\u0442\u043e \u0443\u0433\u043e\u0434\u043d\u043e: \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043b\u043e\u0433\u0438 Nginx, \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0438\u0437 <a href=\"https:\/\/cloudvps.by\/community\/docs\/glossarij\/terminy\/docker\/\" data-internallinksmanager029f6b8e52c=\"258\" title=\"Docker\">Docker<\/a> \u2014 \u0432\u0441\u0451, \u0447\u0442\u043e \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0442\u0435\u043a\u0441\u0442. \u0411\u0435\u0437 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u044b \u043b\u0438\u0431\u043e \u043d\u0435 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443, \u043b\u0438\u0431\u043e \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0435\u0451 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043f\u043e\u0437\u0434\u043d\u043e. \u0410 \u0441 <strong>Kibana<\/strong>, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u0437\u0430 2 \u043c\u0438\u043d\u0443\u0442\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0440\u0435\u0437\u043a\u0438\u0439 \u0432\u0441\u043f\u043b\u0435\u0441\u043a 500-\u0445 \u043e\u0448\u0438\u0431\u043e\u043a.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">\u0427\u0442\u043e \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 \u0441\u0442\u0435\u043a ELK?<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Elasticsearch<\/strong> \u2014 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0439 \u0434\u0432\u0438\u0436\u043e\u043a, \u043a\u0443\u0434\u0430 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0438 \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0432\u0441\u0435 \u043b\u043e\u0433\u0438.<\/li>\n\n\n\n<li><strong>Logstash<\/strong> \u2014 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043b\u043e\u0433\u043e\u0432: \u0447\u0438\u0442\u0430\u0435\u0442, \u0444\u0438\u043b\u044c\u0442\u0440\u0443\u0435\u0442, \u043f\u0430\u0440\u0441\u0438\u0442 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442 \u0438\u0445 \u0432 Elasticsearch.<\/li>\n\n\n\n<li><strong>Kibana<\/strong> \u2014 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043b\u043e\u0433\u043e\u0432 \u0438 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0434\u0430\u0448\u0431\u043e\u0440\u0434\u043e\u0432.<\/li>\n<\/ul>\n\n\n\n<p>\u0418\u043d\u043e\u0433\u0434\u0430 \u043a \u044d\u0442\u043e\u043c\u0443 \u0441\u0442\u0435\u043a\u0443 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442 Beats, \u043d\u043e \u044f \u043e\u0431\u043e\u0448\u043b\u0430\u0441\u044c \u0431\u0435\u0437 \u043d\u0435\u0433\u043e. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043f\u043e\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432\u0441\u0451 \u043d\u0430 \u043e\u0434\u043d\u043e\u043c VPS.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 ELK \u043d\u0430 VPS<\/h2>\n\n\n\n<p>\ud83d\udccc VPS: Ubuntu 22.04, 2 CPU, 4GB RAM \u2014 \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043b\u044f \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e ELK, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0434\u043b\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">1. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Elasticsearch<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>wget -qO - <a href=\"https:\/\/cloudvps.by\/community\/docs\/glossarij\/terminy\/https\/\" data-internallinksmanager029f6b8e52c=\"221\" title=\"HTTPS (Hyper Text Transfer Protocol Secure)\">https<\/a>:\/\/artifacts.elastic.co\/GPG-KEY-elasticsearch | sudo apt-key add -\nsudo apt-add-repository \"deb https:\/\/artifacts.elastic.co\/packages\/7.x\/apt stable main\"\nsudo apt update &amp;&amp; sudo apt install elasticsearch\n<\/code><\/pre>\n\n\n\n<p>\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano \/etc\/elasticsearch\/elasticsearch.yml\n<\/code><\/pre>\n\n\n\n<p>\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>network.host: localhost\ndiscovery.type: single-<a href=\"https:\/\/cloudvps.by\/community\/docs\/glossarij\/terminy\/node-v-kubernetes\/\" data-internallinksmanager029f6b8e52c=\"349\" title=\"Node (\u0432 Kubernetes)\">node<\/a>\n<\/code><\/pre>\n\n\n\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl enable elasticsearch\nsudo systemctl start elasticsearch\n<\/code><\/pre>\n\n\n\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -X GET \"localhost:9200\/\"\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">2. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Logstash<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install logstash\n<\/code><\/pre>\n\n\n\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e\u0437\u0434\u0430\u0451\u043c <a href=\"https:\/\/cloudvps.by\/community\/docs\/glossarij\/terminy\/downtime\/\" data-internallinksmanager029f6b8e52c=\"233\" title=\"Downtime (\u0412\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u044f)\">\u043f\u0440\u043e\u0441\u0442\u043e\u0439<\/a> \u043a\u043e\u043d\u0444\u0438\u0433:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano \/etc\/logstash\/conf.d\/syslog.conf\n<\/code><\/pre>\n\n\n\n<p>\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>input {\n  file {\n    path =&gt; \"\/var\/log\/syslog\"\n    type =&gt; \"syslog\"\n  }\n}\n\nfilter {\n  grok {\n    match =&gt; { \"message\" =&gt; \"%{SYSLOGBASE} %{GREEDYDATA:message}\" }\n  }\n}\n\noutput {\n  elasticsearch {\n    hosts =&gt; &#91;\"localhost:9200\"]\n    index =&gt; \"syslog-%{+YYYY.MM.dd}\"\n  }\n}\n<\/code><\/pre>\n\n\n\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl enable logstash\nsudo systemctl start logstash\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">3. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Kibana<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install kibana\n<\/code><\/pre>\n\n\n\n<p>\u041a\u043e\u043d\u0444\u0438\u0433:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano \/etc\/kibana\/kibana.yml\n<\/code><\/pre>\n\n\n\n<p>\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>server.host: \"0.0.0.0\"\nelasticsearch.hosts: &#91;\"http:\/\/localhost:9200\"]\n<\/code><\/pre>\n\n\n\n<p>\u0417\u0430\u043f\u0443\u0441\u043a:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl enable kibana\nsudo systemctl start kibana\n<\/code><\/pre>\n\n\n\n<p>\u0422\u0435\u043f\u0435\u0440\u044c Kibana \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u043f\u043e \u043f\u043e\u0440\u0442\u0443 <strong>5601<\/strong>. \u041d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0435\u0433\u043e \u0432 \u0444\u0430\u0435\u0440\u0432\u043e\u043b\u0435!<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u0427\u0442\u043e \u0431\u044b\u043b\u043e \u0434\u0430\u043b\u044c\u0448\u0435<\/h2>\n\n\n\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 Kibana \u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0437\u0430\u0432\u0438\u0441\u043b\u0430 \u2014 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0441\u043b\u043e\u0436\u043d\u044b\u043c. \u041d\u043e \u044f \u043f\u043e\u0448\u043b\u0430 \u043f\u043e \u043f\u0443\u0442\u0438: \u00ab\u043d\u0435 \u0432\u0441\u0451 \u0441\u0440\u0430\u0437\u0443\u00bb. \u041d\u0430\u0447\u0430\u043b\u0430 \u0441 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u2014 \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u043b\u0430 \u0433\u0440\u0430\u0444 \u043f\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u043b\u043e\u0433\u043e\u0432 \u0437\u0430 \u0441\u0443\u0442\u043a\u0438. \u041f\u043e\u0442\u043e\u043c \u2014 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f \u043f\u043e <a href=\"https:\/\/cloudvps.by\/community\/docs\/glossarij\/terminy\/ip-adres\/\" data-internallinksmanager029f6b8e52c=\"204\" title=\"IP-\u0430\u0434\u0440\u0435\u0441 (Internet Protocol)\">IP<\/a>, \u0430 \u043f\u043e\u0437\u0436\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0430 <strong>\u043e\u043f\u043e\u0432\u0435\u0449\u0435\u043d\u0438\u044f \u043d\u0430 Telegram<\/strong>, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u043b\u0438 \u043e\u0448\u0438\u0431\u043a\u0438 \u0443\u0440\u043e\u0432\u043d\u044f &#8220;crit&#8221;. \u0412 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0438 \u0441 fail2ban \u044d\u0442\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043c\u043e\u0449\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u043e\u0432\u0435\u0442\u044b<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0439\u0442\u0435 \u0441\u0440\u0430\u0437\u0443 \u0432\u0441\u0435 \u043b\u043e\u0433\u0438 \u2014 \u043d\u0430\u0447\u043d\u0438\u0442\u0435 \u0441 <code>\/var\/log\/syslog<\/code>, <code>auth.log<\/code> \u0438 \u043b\u043e\u0433\u043e\u0432 Nginx.<\/li>\n\n\n\n<li><strong>Kibana \u0434\u043b\u044f \u0447\u0430\u0439\u043d\u0438\u043a\u043e\u0432<\/strong> \u2014 \u043b\u0443\u0447\u0448\u0435\u0435, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0443\u0433\u043b\u0438\u0442\u044c, \u0435\u0441\u043b\u0438 \u0437\u0430\u043f\u0443\u0442\u0430\u043b\u0438\u0441\u044c.<\/li>\n\n\n\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <strong>\u0438\u043d\u0434\u0435\u043a\u0441\u0430\u0446\u0438\u044e \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438<\/strong> \u2014 \u0442\u043e\u0433\u0434\u0430 \u043f\u043e\u0438\u0441\u043a \u043d\u0435 \u0442\u043e\u0440\u043c\u043e\u0437\u0438\u0442.<\/li>\n\n\n\n<li>\u041d\u0435 \u0431\u043e\u0439\u0442\u0435\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <strong>Logstash \u0444\u0438\u043b\u044c\u0442\u0440\u044b<\/strong> \u2014 grok \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043c\u043e\u0449\u043d\u044b\u0439.<\/li>\n\n\n\n<li>\u041c\u043e\u043d\u0438\u0442\u043e\u0440\u044c\u0442\u0435 \u043f\u0430\u043c\u044f\u0442\u044c: Elasticsearch \u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u0447\u0430\u0442\u044c \u043f\u043e\u0434\u0436\u0438\u0440\u0430\u0442\u044c \u0432\u0435\u0441\u044c RAM, \u0435\u0441\u043b\u0438 VPS \u0441\u043b\u0430\u0431\u044b\u0439.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0430: \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u043f\u0440\u043e\u0449\u0435?<\/h2>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u043c ELK \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u044b\u043c \u2014 \u0435\u0441\u0442\u044c <strong>Lightweight \u0440\u0435\u0448\u0435\u043d\u0438\u044f<\/strong> \u0432\u0440\u043e\u0434\u0435 GoAccess \u0438\u043b\u0438 Netdata, \u043d\u043e \u043e\u043d\u0438 \u043d\u0435 \u0442\u0430\u043a\u0438\u0435 \u0433\u0438\u0431\u043a\u0438\u0435. \u042f \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b\u0430 \u0438\u0445, \u043d\u043e \u043f\u043e\u0442\u043e\u043c \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0432\u0435\u0440\u043d\u0443\u043b\u0430\u0441\u044c \u043a <strong>Elastic Stack<\/strong>, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043a\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043b\u043e\u0433\u0438 \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 VPS.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u041f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 ELK<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442<\/th><th>\u0412\u0435\u0440\u0441\u0438\u044f<\/th><th>\u041d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435<\/th><th>\u041f\u043e\u0440\u0442<\/th><\/tr><\/thead><tbody><tr><td>Elasticsearch<\/td><td>7.17.x<\/td><td>\u0425\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0438 \u043f\u043e\u0438\u0441\u043a \u043b\u043e\u0433\u043e\u0432<\/td><td>9200<\/td><\/tr><tr><td>Logstash<\/td><td>7.17.x<\/td><td>\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043b\u043e\u0433\u043e\u0432<\/td><td>5044<\/td><\/tr><tr><td>Kibana<\/td><td>7.17.x<\/td><td>\u0412\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0430<\/td><td>5601<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u041f\u0435\u0440\u0432\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a ELK stack \u2014 \u044d\u0442\u043e \u043a\u0430\u043a \u0441\u043e\u0431\u0440\u0430\u0442\u044c IKEA \u0431\u0435\u0437 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438: \u0432\u0440\u043e\u0434\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043d\u043e \u043d\u044e\u0430\u043d\u0441\u043e\u0432 \u043f\u043e\u043b\u043d\u043e. \u041d\u043e \u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u2014 \u043e\u0449\u0443\u0449\u0435\u043d\u0438\u0435, \u0447\u0442\u043e \u0442\u044b \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u0443\u0435\u0448\u044c \u0432\u0441\u0451. \u042f \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u0438\u0436\u0443, \u043a\u0442\u043e \u043b\u0435\u0437\u0435\u0442 \u043a \u043c\u043e\u0438\u043c VPS, \u043a\u0430\u043a\u0438\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0442 \u0438 \u043a\u043e\u0433\u0434\u0430. \u0418 \u0435\u0441\u043b\u0438 \u0440\u0430\u043d\u044c\u0448\u0435 \u044f \u043f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u043b\u0430 \u043b\u043e\u0433\u0438 \u0447\u0435\u0440\u0435\u0437 <code>grep<\/code>, \u0442\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u0443 \u043c\u0435\u043d\u044f \u0434\u0430\u0448\u0431\u043e\u0440\u0434\u044b, \u043e\u043f\u043e\u0432\u0435\u0449\u0435\u043d\u0438\u044f \u0438 \u0447\u0443\u0432\u0441\u0442\u0432\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f.<\/p>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0441\u043e\u043c\u043d\u0435\u0432\u0430\u0435\u0442\u0435\u0441\u044c \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435. \u041d\u0430 \u043e\u0434\u043d\u043e\u0439 VPS \u044d\u0442\u043e \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u0437\u0430 \u043f\u0430\u0440\u0443 \u0447\u0430\u0441\u043e\u0432, \u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0442\u043e\u0433\u043e \u0441\u0442\u043e\u0438\u0442.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041a\u043e\u0433\u0434\u0430 \u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u0430 \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0437\u0430 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432, \u043b\u043e\u0433\u0438 \u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u043c\u043d\u0435 \u0447\u0435\u043c-\u0442\u043e \u0432\u0442\u043e\u0440\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u044b\u043c. \u041d\u0443 \u0443\u043f\u0430\u043b\u0430 \u0441\u043b\u0443\u0436\u0431\u0430 \u2014 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0430. \u041d\u0443 \u043a\u0442\u043e-\u0442\u043e \u043f\u043e\u0441\u0442\u0443\u0447\u0430\u043b\u0441\u044f \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442 \u2014 \u043d\u0443 \u0438 \u043b\u0430\u0434\u043d\u043e. \u041d\u043e \u0447\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u0443 \u043c\u0435\u043d\u044f \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u043e\u0441\u044c VPS \u2014 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432, \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432, \u0442\u0435\u0441\u0442\u043e\u0432 \u2014 \u0442\u0435\u043c \u0441\u0438\u043b\u044c\u043d\u0435\u0435 \u044f \u043e\u0441\u043e\u0437\u043d\u0430\u0432\u0430\u043b\u0430: \u0431\u0435\u0437 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0432 \u0442\u0435\u043c\u043d\u043e\u0442\u0435. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":4190,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-4186","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gajdy"],"_links":{"self":[{"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/posts\/4186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/comments?post=4186"}],"version-history":[{"count":2,"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/posts\/4186\/revisions"}],"predecessor-version":[{"id":4189,"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/posts\/4186\/revisions\/4189"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/media\/4190"}],"wp:attachment":[{"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/media?parent=4186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/categories?post=4186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudvps.by\/community\/wp-json\/wp\/v2\/tags?post=4186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}