Skip to content

Latest commit

 

History

History
70 lines (47 loc) · 2.33 KB

Installation and Setup.md

File metadata and controls

70 lines (47 loc) · 2.33 KB

Install Elasticsearch, Logstash & Kibana

Check Java version

Elasticsearch and Logstash require Java 7 or later. Install or update as needed - use the official Oracle distribution or an open-source distribution such as OpenJDK. To check your Java version, run the following command: java -version.

Install Elasticsearch

(see here for more help)

Install Logstash

(see here for more help)

Install Kibana

(see here for more help)

Test Installation

Elasticsearch

Open a new shell window and run Elasticsearch.

<path_to_elasticsearch_root_dir>/bin/elasticsearch 

Elasticsearch should now be running on port 9200. To test, point your browser at port 9200 (http://localhost:9200). You should see output similar to the following with status code of 200.

{
  "status" : 200,
  "name" : "James Howlett",
  "cluster_name" : "elasticsearch",
     ... truncated output 
}

Logstash

To test your Logstash installation, run the following command in a new shell:

<path_to_logstash_root_dir>/bin/logstash -e 'input { stdin { } } output { stdout {} }'

Type checking logstash! at the command prompt. If Logstash is correctly installed, you should see:

checking logstash!
2015-06-21T01:22:14.405+0000 0.0.0.0 checking logstash!

Exit Logstash using CTRL-D command.

Kibana

Open a new shell window and run Kibana.

<path_to_kibana_root_dir>/bin/kibana 

Kibana should now be running on port 5601. To test, point your web browser at port 5601 (localhost:5601). You should see the Kibana UI.