uken/fluent-plugin-elasticsearch — pull request #29 by HeartSaVioR (2014-03-11 08:11:36+00:00)
Title: Revised #26 (use elasticsearch-ruby and "patron", add utc_index option, fix bugs, etc)

At first, thanks for @xia0pin9 to provide base implementation. Without this I would waste lots of time. :)

It's revised version of PR #26 with unit test & real run passed.

Change Log
====

- bug fixes
- meta/record are not sent to ES when bulk_message.size grows and equals to @flush_size.
- some typos
- ES 1.x may request ping (request http://:9200/ with HEAD method), so we should stub it
- client.bulk accepts array of hash, not json

- library dependencies
- use patron, recent typheous (0.6.7) is not compatible with recent faraday (0.9.0)
- you need to install libcurl

- etc
- arrange whitespaces for proper formatting

If we need to avoid installing libcurl, we can just test another drivers to match or disable keep-alive feature (by not installing typheous and patron, remove dependency) and go on.

I've changed source code too much, so you may think commits are dirty.
Please feel free to ask me, I'm willing to clean up and merge commits if needed.

Future work : requests with many elasticsearch nodes

Thanks!