forked from puneetthakur87/Custom-Kibana-Visualization-Files
-
Notifications
You must be signed in to change notification settings - Fork 6
/
ELK installation steps
80 lines (50 loc) · 2.68 KB
/
ELK installation steps
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
### Install Elasticsearch, Logstash & Kibana ###
### Check Java version ###
Elasticsearch and Logstash require Java 8 or later. Install or update as needed - use the [official Oracle distribution](http://www.oracle.com/technetwork/java/javase/downloads/index.html) or an open-source distribution such as [OpenJDK](http://openjdk.java.net/). To check your Java version, run the following command: `java -version`.
### Install Elasticsearch ###
* Download the [Elasticsearch binary package](https://www.elastic.co/downloads/elasticsearch) for your platform.
* Extract the `.zip` or `tar.gz` archive file
(see (https://www.elastic.co/guide/en/elasticsearch/reference/current/_installation.html) for more help)
### Install Logstash ###
* Download the [Logstash binary package](https://www.elastic.co/downloads/logstash) for your platform.
* Extract the `.zip` or `tar.gz` archive file
(see (https://www.elastic.co/guide/en/logstash/current/getting-started-with-logstash.html) for more help)
### Install Kibana ###
- Download the [Kibana 5 binary package](https://www.elastic.co/downloads/kibana) for your platform.
- Extract the `.zip` or `tar.gz` archive file.
(see (https://www.elastic.co/guide/en/kibana/current/setup.html) 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.
```
{
"name" : "TS9xPKz",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "Wk2WMGpOQZaoLWj7BLjyuQ",
"version" : {
"number" : "6.7.0",
"build_flavor" : "default",
"build_type" : "deb",
"build_hash" : "8453f77",
"build_date" : "2019-03-21T15:32:29.844721Z",
"build_snapshot" : false,
"lucene_version" : "7.7.0",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}
```
### 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!
2019-03-28T01: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.