EsHero
Elasticsearch insights made easy
Installation
Add this line to your application’s Gemfile:
gem 'eshero'
And mount the dashboard in your config/routes.rb
:
mount EsHero::Engine, at: "eshero"
Be sure to secure the dashboard in production.
Insights
EsHero.indices
EsHero.nodes
Security
Basic Authentication
Set the following variables in your environment or an initializer.
ENV["ESHERO_USERNAME"] = "andrew"
ENV["ESHERO_PASSWORD"] = "secret"
Devise
authenticate :user, lambda {|user| user.admin? } do
mount EsHero::Engine, at: "eshero"
end
TODO
- status checks
- stats on memory and disk space
Contributing
Everyone is encouraged to help improve this project. Here are a few ways you can help:
- Report bugs
- Fix bugs and submit pull requests
- Write, clarify, or fix documentation
- Suggest or add new features