A photo of Mitesh Shah

Mitesh Shah

Linux Enthusiast
System Administrator

Email Skype Github Twitter Google+ Resume Hire Me Keybase LinkedIn Stackoverflow


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