Elasticsearch瀛︿範璁板綍

ElasticSearch鐨勫畨瑁呬笌Elasticsearch涓や釜姣旇緝閲嶈鐨勬彃浠秇ead鍜宬ibana鐨勫畨瑁呰鏄
鎴戜滑寤虹珛涓涓綉绔欐垨搴旂敤绋嬪簭锛屽苟瑕佹坊鍔犳悳绱㈠姛鑳斤紝浣嗘槸鎯宠瀹屾垚鎼滅储宸ヤ綔鐨勫垱寤烘槸闈炲父鍥伴毦鐨勩傛垜浠笇鏈涙悳绱㈣В鍐虫柟妗堣杩愯閫熷害蹇紝鎴戜滑甯屾湜鑳芥湁涓涓浂閰嶇疆鍜屼竴涓畬鍏ㄥ厤璐圭殑鎼滅储妯″紡锛屾垜浠笇鏈涜兘澶熺畝鍗曞湴浣跨敤JSON閫氳繃HTTP鏉ョ储寮曟暟鎹紝鎴戜滑甯屾湜鎴戜滑鐨勬悳绱㈡湇鍔″櫒濮嬬粓鍙敤锛屾垜浠笇鏈涜兘澶熶粠涓鍙板紑濮嬪苟鎵╁睍鍒版暟鐧惧彴锛屾垜浠瀹炴椂鎼滅储锛屾垜浠绠鍗曠殑澶氱鎴凤紝鎴戜滑甯屾湜寤虹珛涓涓簯鐨勮В鍐虫柟妗堛傚洜姝ゆ垜浠埄鐢‥lasticsearch鏉ヨВ鍐虫墍鏈夎繖浜涢棶棰樹互鍙婂彲鑳藉嚭鐜扮殑鏇村鍏跺畠闂銆

Elasticsearch瀹夎

Elasticsearch杩愯闇瑕乯ava鐜 涓嶇煡閬撴庝箞瀹夎鐨勮瘽鍙互鐧惧害涓涓 闇瑕丣ava SE8,瀹夎瀹屽湪window涓媍md杈撳叆java -version浼氭湁鐐瑰弽搴斻
鐒跺悗鏉ュ埌Elasticsearch鐨勫畼缃戯紝涓嶈繃瀹樼綉涓嬭浇鐨勬槸鍘熷鐗堟湰銆傚浜庢垜杩欑鏂版墜锛岃繕鏄潵github涓婁笅杞Elasticsearch-rtf濂戒簡锛屽張鏈夋眽鍖栵紝杩樻湁鎸哄鐨勬彃浠讹紝鏍规嵁github涓婄殑鎻愮ず瀹夎涓涓嬶紝瀹夎瀹屼箣鍚庢潵鍒癳lasticsearch-rtf鐩綍涓嬬殑bin閲岄潰锛屽湪杩欓噷鎵撳紑鍛戒护绐楀彛锛岃繍琛
elasticsearch.bat

鐒跺悗璁块棶127.0.0.1:9200锛岃闂繑鍥瀓son鐨勮瘽锛岃鏄庝篃绠楁槸瀹夎鎴愬姛浜

Elasticsearch涓や釜姣旇緝閲嶈鐨勬彃浠剁殑瀹夎

head

head灏卞ソ姣攑hp閲岄潰鐨刵avicat 鍒癵ithub涓婃悳绱竴涓媏lasticsearch-head 鏍规嵁鎻愮ず杩愯

npm闇瑕佸畨瑁卬ode.js 濡傛灉瑙夊緱鏈夌偣鎱㈢殑鍙互瀹夎娣樺疂鐨刵pm闀滃儚
$ npm install -g cnpm --registry=https://registry.npm.taobao.org
鐒跺悗瀹夎渚濊禆鍖呬細蹇緢澶 鐢╟npm鏉ュ畨瑁 瀹夎瀹岃繍琛
npm run start
鐒跺悗鎵撳紑127.0.0.1:9100 涓嶈繃闆嗙兢鍋ュ悍鍊艰繕鏄細鏄剧ず鏈繛鎺 杩欎釜璁捐鍒癳lasticsearch鐨勫畨鍏ㄧ瓥鐣 鎵浠ユ垜浠杩涘叆鍒癳lasticsearch-rtf鐨刢onfig鏂囦欢澶逛笅淇敼浠栫殑elasticsearch.yml鏂囦欢 鍦ㄥ簳閮ㄥ姞涓
http.cors.enabled: true
http.cors.allow-origin: "*"
http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers: "X-Requested-With, Content-Type, Content-Length, X-User"
鐒跺悗閲嶆柊鍚姩elasticsearch.bat 鐞嗚涓婂氨鍙互浜

kibana

涓嬭浇kibana闇瑕佷繚璇乲ibana鍜宔lasticsearch鐨勭増鏈槸涓鑷寸殑 杩囧幓鐨勭増鏈彲浠ュ湪瀹樼綉鐨刾review-release閲岄潰鎵 涓嬭浇鍚庤繘鍏in鐩綍杩愯kibana.bat 浠栦細鍛婅瘔鎴戜滑鍘昏繘鍏127.0.0.1:5601

All posts

Other pages

鍙戣〃璇勮

鐢靛瓙閭欢鍦板潃涓嶄細琚叕寮銆 蹇呭~椤瑰凡鐢*鏍囨敞