- Introduction
- Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for ElasticSearch
- Kibana is a snap to setup and start using
- Written entirely in HTML and Javascript it requires only a plain webserver
- Kibana requires no fancy server side components
- Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elasticsearch
- Installation
- http://www.elasticsearch.org/overview/kibana/installation/
- CD $ES_HOME/plugin/
- wget https://download.elasticsearch.org/kibana/kibana/kibana-3.1.0.zip
- unzip kibana-3.1.0.zip
- mkdir kibana
- mv kibana-3.1.0/ kibana/_site
- cd kibana/_site/
- vi config.js
- edit 'elasticsearch: "http://"+window.location.hostname+":9200",'
- open web browser
- enter 'http://es:9200/_plugin/kibana'
- Sample
- run the command addressed below
curl -XPUT http://localhost:9200/shakespeare -d ' { "mappings" : { "_default_" : { "properties" : { "speaker" : {"type": "string", "index" : "not_analyzed" }, "play_name" : {"type": "string", "index" : "not_analyzed" }, "line_id" : { "type" : "integer" }, "speech_number" : { "type" : "integer" } } } } } ';
- wget http://www.elasticsearch.org/guide/en/kibana/current/snippets/shakespeare.json
- curl -XPUT localhost:9200/_bulk --data-binary @shakespeare.json
- http://es:9200/_plugin/kibana/index.html#/dashboard/file/guided.json
- configure dashboard -> index -> default index -> shakespeare -> save
- downlad 'http://www.elasticsearch.org/guide/en/kibana/current/snippets/plays.json'
- load -> advanced -> select file -> plays.json -> ok
- run the command addressed below
Friday, January 2, 2015
Kibana
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.