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 Configure Logstash

Overview

Configure Logstash

  • For Logstash, We have to create/update configuration file.
$ cat /etc/logstash/conf.d/logstash.conf
output {
  elasticsearch {
    # Don't required for local ElasticSearch
    # cluster  => Gateway # This matches out elasticsearch cluster.name
    # protocol => http
  }
}

Restart Logstash Service

$ sudo service logstash restart




Post Navigation