Skip to content

Latest commit

 

History

History
74 lines (49 loc) · 2.58 KB

Installation and Setup.md

File metadata and controls

74 lines (49 loc) · 2.58 KB

Install Elasticsearch, Logstash & Kibana

Check Versions

We are in the process of updated these examples to target the current 6.x version of the Elastic Stack. If you stumble upon one for which the instructions have not been migrated please try with the current stack rather than the 5.x

Check Java version

Elasticsearch and Logstash require Java 8 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 (http://localhost:5601). You should see the Kibana UI.