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