Kibana6安裝使用(windows)


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的環境變量就可以了)

 

安裝步驟

  1. 下載 Logstash 6.6.0 安裝版本。
  2. 解壓縮到本地,進入安裝路徑下 bin 目錄,新建文件 logstash_default.conf
input { stdin{ } } output { stdout{ } } 
  1. 繼續在 bin 目錄下新建文件 run_default.bat
logstash -f logstash_default.conf
  1. 雙擊運行 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 ][logstash.pipeline ] Pipeline started suc cessfully {:pipeline_id=>"main", :thread=>"#<Thread:0x14a251cf run>"} The stdin plugin is now waiting for input: [2019-02-15T11:28:19,366][INFO ][logstash.agent ] Pipelines running {: count=>1, :running_pipelines=>[:main], :non_running_pipelines=>[]} [2019-02-15T11:28:19,811][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600} 
  1. 打開瀏覽器,輸入 http://localhost:9600/,頁面顯示以下信息則說明安裝成功。
{ "host": "CTUY7JWX6208621", "version": "6.6.0", "http_address": "127.0.0.1:9600", "id": "0b82cf1c-e133-4407-8b8a-fad3f652d4cd", "name": "CTUY7JWX6208621", "build_date": "2019-01-24T12:13:56+00:00", "build_sha": "e4390be7e4d511af9d48bc503c9dcc15b03d3bce", "build_snapshot": false }


作者:又語
鏈接:https://www.jianshu.com/p/63f7243bd035
來源:簡書
著作權歸作者所有。商業轉載請聯系作者獲得授權,非商業轉載請注明出處。


————————————————
版權聲明:本文為CSDN博主「__Charming__」的原創文章,遵循 CC 4.0 BY-SA 版權協議,轉載請附上原文出處鏈接及本聲明。
原文鏈接:https://blog.csdn.net/qq_41882147/article/details/80901461


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM