filmov
tv
How to Setup ELK Stack in Ubuntu with Filebeat to collect logs from servers
Показать описание
#awsfordevelopers #aws #hinditutorial #urdotutorial #elkstack #observerbility
#devops #technoronix #filebeat #monitoring #serveradministration
#devops #support #linux_tutorial #linuxsystemadministration #linuxtutions
Setup Elasticsearch :
1 apt-get update
2 sudo apt-get install openjdk-8-jdk
4 sudo apt-get install apt-transport-https
6 sudo apt-get update
7 sudo apt-get install elasticsearch
Setup Kibana
1 apt-get update
2 sudo apt-get install openjdk-8-jdk
4 sudo apt-get install apt-transport-https
6 sudo apt-get update
7 sudo apt-get install kibana
9 systemctl start kibana
10 systemctl status kibana
Setup Logstash
12 sudo apt-get install logstash
13 cd /etc/logstash/conf.d/
logstash pipeline for apache using filebeat
17 sudo filebeat modules enable system
Client Setup (Apache Web server)
paths:
- /var/log/apache2/*.log
# The Logstash hosts
hosts: ["10.0.43.154:5044"]
5 sudo filebeat modules enable system
6 sudo filebeat modules enable apache
8 filebeat test output
#devops #technoronix #filebeat #monitoring #serveradministration
#devops #support #linux_tutorial #linuxsystemadministration #linuxtutions
Setup Elasticsearch :
1 apt-get update
2 sudo apt-get install openjdk-8-jdk
4 sudo apt-get install apt-transport-https
6 sudo apt-get update
7 sudo apt-get install elasticsearch
Setup Kibana
1 apt-get update
2 sudo apt-get install openjdk-8-jdk
4 sudo apt-get install apt-transport-https
6 sudo apt-get update
7 sudo apt-get install kibana
9 systemctl start kibana
10 systemctl status kibana
Setup Logstash
12 sudo apt-get install logstash
13 cd /etc/logstash/conf.d/
logstash pipeline for apache using filebeat
17 sudo filebeat modules enable system
Client Setup (Apache Web server)
paths:
- /var/log/apache2/*.log
# The Logstash hosts
hosts: ["10.0.43.154:5044"]
5 sudo filebeat modules enable system
6 sudo filebeat modules enable apache
8 filebeat test output
Комментарии