No commit activity in last 3 years
No release in over 3 years
Take a peek into your Elasticsearch indices.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.2
>= 0

Runtime

~> 0.1.3
 Project Readme

Peek::Elasticsearch

Take a peek into your Elasticsearch indices.

Installation

Add this line to your application's Gemfile:

gem 'peek-elasticsearch'

And then execute:

$ bundle

Or install it yourself as:

$ gem install peek-elasticsearch

Usage

First, make sure somewhere in your app you're defining $stretch. Stretch is a simple, bare-bones Elasticsearch client.

For example:

# config/initializers/elasticsearch.rb
$stretch = Stretch::Client.new :url => 'http://127.0.0.1:9200/'

# config/initializers/peek.rb
Peek.into Peek::Views::Elasticsearch, :index => "myapp-#{Rails.env}"