Install Logstash on Centos7 using rpm
- Create a centos 7 machine
- Connect to it using ssh
- install java 8 using
sudo yum install java-1.8.0-openjdk-devel -y
java -version
- Download binaries from elastic site and install. In this series i will be using 7.4 version
wget https://artifacts.elastic.co/downloads/logstash/logstash-7.4.2.rpm
sudo rpm -i logstash-7.4.2.rpm
- Configuration files of logstash are located @ /etc/logstash
- Logstash works with configuration files where you write rules. Basic configuration files syntax would be
input
filter
output
- Logstash can receive the inputs from input plugins for whole list refer here
- Output Plugins
- Filters
Golden Signals
- Request per Second
- Error Rate
- Latency
- Saturation
- Utilzation
Reason
Making your system observable reduces MTTR (Mean Time TO Repair)
Exercise
- Create Dashboards representing requests pers second of Apache Server using logstash, elastic search and kibana