DevOps Classroom Series – 3/Nov/2019

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

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

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner