Wednesday, June 8, 2016

Install Logstash on Ubuntu 16.04

Steps to install logstash on ubuntu 16.04

Install Logstash

Run the following command to import logstash public GPG, this command is to allow installation of logstash 2.3, if you want newer version, simply just change the 2.3 with the version that you want
echo "deb http://packages.elastic.co/logstash/2.3/debian stable main" | sudo tee -a /etc/apt/sources.list

Update apt package database with this command
sudo apt-get update

then install logstash
sudo apt-get install logstash

Configure Logstash

Logstash is basically already up and running, but it has not do anything yet, the following is the list of sample configuration for logstash

Run Logstash

to start, stop and check logstash status you can use the following command
sudo service logstash start
sudo service logstash stop
sudo service logstash status

No comments :

Post a Comment