We're updating the issue view to help you get more done. 

Elasticsearch output error

Description

Using elasticsearch 0.90.10.
My output section: elasticsearch { host => "127.0.0.1" }
The backtrace: http://pastebin.com/PDHmCcuH

The trace starts appearing on stderr as soon as I sent the first log line. Even if I only send one line the error keeps showing up every second.
This only happens when I have a grok filter enables. If I send the message straight to ES everything works fine.

On irc t0m mentioned that org.elasticsearch.action.index.IndexRequest.new( is returning an array, not an object, at this line:
https://github.com/jordansissel/jruby-elasticsearch/blob/master/lib/jruby-elasticsearch/bulkrequest.rb#L32

My workaround is to use elasticsearch_http for now.

Environment

None

Status

Assignee

Logstash Developers

Reporter

Daniele Valeriani

Affects versions

1.3.2

Priority