Kibana版本:6.3.0
前提:保證安裝了JDK
前提:保證安裝了Elasticsearch
安裝Elasticsearch:
到官網下載elasticsearch:https://www.elastic.co/downloads/elasticsearch

解壓
進入bin目錄,雙擊elasticsearch.bat
打開http://localhost:9200/,發現顯示
{
name: "G89oFzi",
cluster_name: "elasticsearch",
cluster_uuid: "NFsGt2d0TG2lPeE6zvsaRw",
version: {
number: "6.3.0",
build_flavor: "default",
build_type: "zip",
build_hash: "424e937",
build_date: "2018-06-11T23:38:03.357887Z",
build_snapshot: false,
lucene_version: "7.3.1",
minimum_wire_compatibility_version: "5.6.0",
minimum_index_compatibility_version: "5.0.0"
},
tagline: "You Know, for Search"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
即啟動成功
安裝Kibana
到官網下載kibana:https://www.elastic.co/downloads/kibana

下載好了解壓就行了
修改配置:
修改文件config/kibana.yml
設置elasticsearch.url為啟動的elasticsearch(http://localhost:9200/)實例(其實按照默認的話不用修改配置文件也可以)
到kibana-6.3.0-windows-x86_64\bin目錄,雙擊kibana.bat
訪問:http://localhost:5601

注意:要是雙擊elasticsearch.bat閃退的話,可以在/bin目錄下啟動cmd,然后輸入elasticsearch.bat可以看到報錯的詳情。(我安裝JDK時自動配置的環境變量有問題,會報什么’common不可用’的錯誤,手動配置JDK的環境變量就可以了)
安裝步驟
- 下載 Logstash 6.6.0 安裝版本。
- 解壓縮到本地,進入安裝路徑下
bin目錄,新建文件logstash_default.conf。
input { stdin{ } } output { stdout{ } }
- 繼續在
bin目錄下新建文件run_default.bat。
logstash -f logstash_default.conf
- 雙擊運行
run_default.bat,等待啟動日志打印完成。
D:\Dev\ELK\logstash-6.6.0\bin>logstash -f logstash_default.conf Sending Logstash logs to D:/Dev/ELK/logstash-6.6.0/logs which is now configured via log4j2.properties [2019-02-15T11:28:07,769][INFO ][logstash.setting.writabledirectory] Creating di rectory {:setting=>"path.queue", :path=>"D:/Dev/ELK/logstash-6.6.0/data/queue"} [2019-02-15T11:28:07,784][INFO ][logstash.setting.writabledirectory] Creating di rectory {:setting=>"path.dead_letter_queue", :path=>"D:/Dev/ELK/logstash-6.6.0/d ata/dead_letter_queue"} [2019-02-15T11:28:07,928][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified [2019-02-15T11:28:07,946][INFO ][logstash.runner ] Starting Logstash {" logstash.version"=>"6.6.0"} [2019-02-15T11:28:07,981][INFO ][logstash.agent ] No persistent UUID f ile found. Generating new UUID {:uuid=>"0b82cf1c-e133-4407-8b8a-fad3f652d4cd", : path=>"D:/Dev/ELK/logstash-6.6.0/data/uuid"} [2019-02-15T11:28:19,097][INFO ][logstash.pipeline ] Starting pipeline {: pipeline_id=>"main", "pipeline.workers"=>4, "pipeline.batch.size"=>125, "pipelin e.batch.delay"=>50} [2019-02-15T11:28:19,302][INFO ]