标签:elasticsearch logstash kibana
ELK 是 elasticsearch logstash kibana 的组合;
这里简单的说一下如何在centos6.x系统下安装,后续写如何使用这些软件;
这里是根据官网推荐使用yum的方法安装的;
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 packages baseurl=http://packages.elastic.co/elasticsearch/2.x/centos gpgcheck=1 gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch enabled=1
yum install elasticsearch -y #访问: http://ip:9200
安装各种插件
#安装 head /usr/share/elasticsearch/bin/plugin install mobz/elasticsearch-head #访问: #安装 kopf /usr/share/elasticsearch/bin/plugin install lmenezes/elasticsearch-kopf #访问: #安装 bigdesk /usr/share/elasticsearch/bin/plugin install lukas-vlcek/bigdesk #访问: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 packages baseurl=http://packages.elastic.co/logstash/2.2/centos gpgcheck=1 gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch enabled=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 packages baseurl=http://packages.elastic.co/kibana/4.4/centos gpgcheck=1 gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch enabled=1
yum install kibana -y #访问 http://ip:5601
本文出自 “浅浅的淡淡” 博客,请务必保留此出处http://cuixiang.blog.51cto.com/8204722/1744448
标签:elasticsearch logstash kibana
原文地址:http://cuixiang.blog.51cto.com/8204722/1744448