elasticsearch command line utility
support ruby version >= 2.1
Add this line to your application's Gemfile:
gem 'ej'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ej
ej -sej -s -h other_host:9201ej -s "ip_address: 127.0.0.1" -i logstash-2014.07.01 -h other_hostej -l -h other_hostej -c "log_date: 2014-01-15" -h other_hostej -m -h other_hostej delete -i logstash-2014.07.01 -h other_hostej delete -i logstash-2014.07.01 -q '{ match: { user_id: 1 } }' -h other_host
ej delete -i logstash-2014.07.01 -q '{"range":{"@timestamp":{"lte":"2014-07-01"}}}' -h other_hostej copy --source remote_host1:9200 --dest remote_host2:9200 -i logstash-2017.01.27 -q 'size: 631'ej nodes_stats -h remote_host1ej settings -h remote_host1- Fork it ( http://github.com/toyama0919/ej/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request

