#Install kibana ##Development Environment https://www.elastic.co/guide/en/kibana/current/setup.html
To get Kibana up and running:
- Dwnload the Kibana 4 binary package for your platform. From https://www.elastic.co/downloads/kibana
- Extract the .zip or tar.gz archive file.
- Run Kibana from the install directory: bin/kibana (Linux/MacOSX) or bin\kibana.bat (Windows).
Для того, чтобы kibana
увидела index_name
из elasticsearch
нужно сделать mappings dynamic: 'true'
и поставить :type => 'date'
для :created_at
index_name "#{Rails.configuration.gex_config[:elasticsearch_prefix]}log_debug"
settings index: { number_of_shards: 1 } do
mappings dynamic: 'true' do
...some code...
indexes :created_at, :index => :not_analyzed, :type => 'date'
...some code...
end
end
запускаем kibana
из папки, в которую мы ее распаковали комндой /bin/kibana
(or bin\kibana.bat
on Windows)
далее заходим на http://localhost:5601 и выбираем проиндексированные модели
##Production Environment https://www.elastic.co/guide/en/kibana/current/production.html