ELK is a combination of Elasticsearch Logstash Kibana;
Here is a simple how to install under the centos6.x system, follow-up write how to use these software;
This is based on the official website recommended using Yum method installed;
1. Elasticsearch
RPM--import Https://packages.elastic.co/GPG-KEY-elasticsearc
Cat/etc/yum.repos.d/elsticsearch.repo
[Elasticsearch-2.x]name=elasticsearch repository for 2.x packagesbaseurl=http://packages.elastic.co/elasticsearch/ 2.x/centosgpgcheck=1gpgkey=http://packages.elastic.co/gpg-key-elasticsearchenabled=1
Yum Install elasticsearch-y# access: http://ip:9200
Install various plugins
#安装 head/usr/share/elasticsearch/bin/plugin Install mobz/elasticsearch-head# access: #安装 kopf/usr/share/elasticsearch/ Bin/plugin Install lmenezes/elasticsearch-kopf# access: #安装 bigdesk/usr/share/elasticsearch/bin/plugin Install lukas-vlcek/bigdesk# Visit: Http://ip:9200/_plugin/bigdesk
2. Logstash
RPM--import Https://packages.elastic.co/GPG-KEY-elasticsearc
Cat/etc/yum.repos.d/logstash.repo
[Logstash-2.2]name=logstash repository for 2.2.x packagesbaseurl=http://packages.elastic.co/logstash/2.2/ Centosgpgcheck=1gpgkey=http://packages.elastic.co/gpg-key-elasticsearchenabled=1
Yum Install Logstash-y
3. Kibana
RPM--import Https://packages.elastic.co/GPG-KEY-elasticsearc
Cat/etc/yum.repos.d/kibana.repo
[Kibana-4.4]name=kibana repository for 4.4.x packagesbaseurl=http://packages.elastic.co/kibana/4.4/centosgpgcheck= 1gpgkey=http://packages.elastic.co/gpg-key-elasticsearchenabled=1
Yum Install kibana-y# Access http://ip:5601
This article from the "Shallow faint" blog, please be sure to keep this source http://cuixiang.blog.51cto.com/8204722/1744448
ELK Stack Deployment