A photo of Mitesh Shah

Mitesh Shah

Linux Expert | Automation Enthusiast | Security Consultant

Email Skype Github Twitter Resume Hire Me Keybase LinkedIn Stackoverflow


How to Monitor System With ELK Stack

Overview

Monitor System With Collectd/ELK Stack

NOTE! We assume that you already setup/configure ELK Stack.

Import Collectd Logs on Logstash

  • To Import Collectd Logs on Logstash, We have to create configuration file.
$ vim /etc/logstash/conf.d/collectd.conf
input {
  udp {
    port => 25826         # 25826 matches port specified in collectd.conf
    buffer_size => 1452   # 1452 is the default buffer size for Collectd
    codec => collectd { } # specific Collectd codec to invoke
    type => collectd
  }
}

Restart Logstash Service

$ sudo service logstash restart

Configure Kibana

  • Open http://192.168.0.1:5601/
  • Click on Settings > Objects > Import

  • Import Dashboard/Visualizations

Kibana Dashboard

  • Open http://192.168.0.1:5601/#/dashboard/Gateway?_g=()

Monitor System With ELK Stack





Post Navigation