- Download & Install Java from https://www.oracle.com/technetwork/pt/java/javase/downloads/jdk8-downloads-2133151.html, e.g. https://download.oracle.com/otn/java/jdk/8u241-b07/1f5b5a70bf22433b84d0e960903adac8/jdk-8u241-windows-x64.exe
- Download Windows version from https://www.elastic.co/downloads/elasticsearch, e.g. https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.5.2-windows-x86_64.zip
- Extract the ZIP file and copy the
elasticsearch-7.5.2
directory toC:\visual-analytics\elasticsearch-7.5.2
. - Edit the file
C:\visual-analytics\elasticsearch-7.5.2\config\elasticsearch.yml
and add the linenetwork.host: localhost
. - Open a command line (
cmd.exe
), in the command line do: cd c:\visual-analytics\elasticsearch-7.5.2
(move to elasticsearch directory)bin\elasticsearch
(start Elasticsearch)- You should see log output similar to this:
...
[2020-01-27T13:00:09,874][INFO ][o.e.c.m.MetaDataIndexTemplateService] [DESKTOP-RHMJTNR] adding template [.monitoring-alerts-7] for index patterns [.monitoring-alerts-7]
[2020-01-27T13:00:09,983][INFO ][o.e.c.m.MetaDataIndexTemplateService] [DESKTOP-RHMJTNR] adding template [.monitoring-kibana] for index patterns [.monitoring-kibana-7-*]
[2020-01-27T13:00:10,045][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [DESKTOP-RHMJTNR] adding index lifecycle policy [watch-history-ilm-policy]
[2020-01-27T13:00:10,108][INFO ][o.e.x.i.a.TransportPutLifecycleAction] [DESKTOP-RHMJTNR] adding index lifecycle policy [slm-history-ilm-policy]
[2020-01-27T13:00:10,233][INFO ][o.e.l.LicenseService ] [DESKTOP-RHMJTNR] license [79c6917a-e34e-4c71-b813-bec57986e704] mode [basic] - valid
[2020-01-27T13:00:10,233][INFO ][o.e.x.s.s.SecurityStatusChangeListener] [DESKTOP-RHMJTNR] Active license is now [BASIC]; Security is disabled
- Don't close this command line window and keep Elasticsearch running!
- To check Elasticsearch is running, enter
localhost:9200
in your browser, you should get a result similar to:
{
"name" : "DESKTOP-RHMJTNR",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "IW6nTKVHT1m7yal7xSIznA",
"version" : {
"number" : "7.5.2",
"build_flavor" : "default",
"build_type" : "zip",
"build_hash" : "8bec50e1e0ad29dad5653712cf3bb580cd1afcdf",
"build_date" : "2020-01-15T12:11:52.313576Z",
"build_snapshot" : false,
"lucene_version" : "8.3.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
- Download Kibana from https://www.elastic.co/downloads/kibana, e.g. https://artifacts.elastic.co/downloads/kibana/kibana-7.5.2-windows-x86_64.zip
- Extract the ZIP file and copy the
kibana-7.5.2
directory toC:\visual-analytics\kibana-7.5.2
. - Open a second command line (
cmd.exe
), in the command line do: cd c:\visual-analytics\kibana-7.5.2
(move to kibana directory)bin\kibana.bat
(start kibana)- If you run into an error related to kibana task manager, stop kibana (CTRL+C), run the command
curl -X DELETE http://localhost:9200/.kibana_task_manager_1
and try running Kibana again. - Successful Kibana logs should look something like this:
log [13:26:10.656] [info][kibana-monitoring][monitoring] Starting monitoring stats collection
log [13:26:10.694] [info][status][plugin:maps@7.5.2] Status changed from yellow to green - Ready
log [13:26:11.661] [info][status][plugin:spaces@7.5.2] Status changed from yellow to green - Ready
log [13:26:13.074] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml
log [13:26:13.089] [info][status][plugin:reporting@7.5.2] Status changed from uninitialized to green - Ready
log [13:26:13.163] [info][listening] Server running at http://localhost:5601
log [13:26:13.304] [info][server][Kibana][http] http server running at http://localhost:5601
- Access
http://localhost:5601
in your browser to run Kibana.
References: