NameError thrown when starting logstash with embedded elasticsearch output


I am currently struggling with the migration from logstash 1.3.3 to logstash 1.4.0. There seems to be an issue with the bundled gems which manifests when using an elasticsearch output using embbedded => true. My logstash starts just fine if I remove that output from the config.

The logstash process dies after throwing a Name Error:

I had a look at the file mentioned and found this:


I am no Ruby coder but the line the exception complains about looks fishy. If I uncomment it:

The error goes away, but I have no idea what horrors I conjure by doing that.



Logstash Developers


Christian Meyer

Affects versions