ELK flow chart
1. First prepare the environment of two centos7
192.168.27.136 (own ip) install jdk elasticsearch kibana
192.168.27.137 (own ip) install jdk logstash
2. Turn off the firewall, setenforce
3. Synchronize the current time
4. Upload the installation package
Upload on a virtual machine (136) # own ip
another one (137) # own ip
5. Start installation configuration 136
Install jdk, both must be installed, because they are both in java environment, remember to check if the installation is successful after installation
Install elasticsearch
Configure elasticsearch
file path
Start elasticsearch to view port
6. Start installation configuration 137
Install jdk
Install logstash
Configuration index
Give permission
Restart logstash
7. Kibana 136
Place kibana
Dynamic kibana
View elasticsearch logs
8. Visit the page
Add index
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200916115956583.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L1EyNzQ5NDg0NTE=,size_16,color_FFFFFF,t_70#pic_center)