1.ELK 安装

1.ES 安装

1.CentOS  ElasticSearch 安装

	wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.2.4.rpm
	wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.2.4.rpm.sha512
	shasum -a 512 -c elasticsearch-6.2.4.rpm.sha512 
	sudo rpm --install elasticsearch-6.2.4.rpm

2.配置文件
	/etc/elasticsearch/elasticsearch.yml

3.启动
	systemctl start elasticsearch.service

4.验证
	curl 'http://localhost:9200/?pretty'

启动:

systemctl start elasticsearch.service

配置:

// 官网

https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html#install-rpm

// 中文

https://www.elastic.co/guide/cn/elasticsearch/guide/current/running-elasticsearch.html 

2.Logstash 安装

1.rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch

	2.logstash.repo
		[logstash-6.x]
			name=Elastic repository for 6.x packages
			baseurl=https://artifacts.elastic.co/packages/6.x/yum
			gpgcheck=1
			gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
			enabled=1
			autorefresh=1
			type=rpm-md

	3.sudo yum install logstash  //  4. systemctl start logstash.service // 启动

启动 :

systemctl start logstash.service

https://www.elastic.co/guide/en/logstash/current/installing-logstash.html#installing-logstash

3.Kibana 安装

1.rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch

	2.kibana.repo
	[kibana-6.x]
		name=Kibana repository for 6.x packages
		baseurl=https://artifacts.elastic.co/packages/6.x/yum
		gpgcheck=1
		gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
		enabled=1
		autorefresh=1
		type=rpm-md

	3.yum install kibana  // 4.systemctl start kibana.service  // 启动

配置:

启动:

systemctl start kibana.service

访问:

http://192.168.0.105:5601

https://www.elastic.co/guide/en/kibana/current/rpm.html

ELK 架构之 Logstash 和 Filebeat 安装配置 - 田园里的蟋蟀 - 博客园

https://www.cnblogs.com/xishuai/p/elk-logstash-filebeat.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值