Sha256: 05db27e28884623c5024ab8bbe303cc148163c01242a1a2ff9ffa611f9bc20d0
Contents?: true
Size: 1007 Bytes
Versions: 5
Compression:
Stored size: 1007 Bytes
Contents
# Ej elasticsearch command line utility required ruby version >= 2.0 ## Installation Add this line to your application's Gemfile: gem 'ej' And then execute: $ bundle Or install it yourself as: $ gem install ej ## Usage ### simple search ```bash ej -s ``` ### other host(default host is localhost) ```bash ej -s -h other_host:9201 ``` ### query search and index ```bash ej -s "ip_address: 127.0.0.1" -i logstash-2014.07.01 ``` ### index list ```bash ej -l -h other_host ``` ### count ```bash ej -c "log_date: 2014-01-15" ``` ### facet ```bash ej -f session_id -q "log_date: 2014-01-15" ``` ### mapping ```bash ej -m ``` ### delete index ```bash ej delete -i logstash-2014.07.01 -h other_host ``` ## Contributing 1. Fork it ( http://github.com/toyama0919/ej/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ej-0.0.12 | README.md |
ej-0.0.10 | README.md |
ej-0.0.9 | README.md |
ej-0.0.8 | README.md |
ej-0.0.7 | README.md |