Getting Started with Logstash

edit

Getting Started with Logstash

edit

This section guides you through the process of installing Logstash and verifying that everything is running properly. Later sections deal with increasingly complex configurations to address selected use cases.

Install Logstash

edit

Logstash requires Java 7 or later. Use the official Oracle distribution or an open-source distribution such as OpenJDK.

To check your Java version, run the following command:

java -version

On systems with Java installed, this command produces output similar to the following:

java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

Installing from a downloaded binary

edit

Download the Logstash installation file that matches your host environment. Unpack the file. On supported Linux operating systems, you can use a package manager to install Logstash.