Steps to install logstash on ubuntu 16.04
Update apt package database with this command
then install logstash
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 wantecho "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 logstashRun Logstash
to start, stop and check logstash status you can use the following commandsudo service logstash start sudo service logstash stop sudo service logstash status
No comments :
Post a Comment