准备
- filebeat
+ logstash+ elasticsearch + kibana。(7.X开始就自带JDK)
下载
elasticsearch:https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.6.0-linux-x86_64.tar.gz kibana:https://artifacts.elastic.co/downloads/kibana/kibana-8.6.0-linux-x86_64.tar.gz logstash:https://artifacts.elastic.co/downloads/logstash/logstash-8.6.0-linux-x86_64.tar.gz
filebeat:https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-8.6.0-linux-x86_64.tar.gz
1 2 3 4 5 6 7 8 9 10
mkdir /opt/elk && cd /opt/elk wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.6.0-linux-x86_64.tar.gz wget https://artifacts.elastic.co/downloads/kibana/kibana-8.6.0-linux-x86_64.tar.gz wget https://artifacts.elastic.co/downloads/logstash/logstash-8.6.0-linux-x86_64.tar.gz wget https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-8.6.0-linux-x86_64.tar.gz tar -zxvf elasticsearch-8.6.0-linux-x86_64.tar.gz tar -zxvf kibana-8.6.0-linux-x86_64.tar.gz tar -zxvf filebeat-8.6.0-linux-x86_64.tar.gz chown -R elk.elk /opt/elk
环境
|
|
- 用户
|
|
或
|
|