elasticsearch/logstash — pull request #1768 by wiibaa (2014-09-23 05:27:08+00:00)
Title: Conditionals for output are broken in master

As stated in super documented and explored [LOGSTASH-2288](https://logstash.jira.com/browse/LOGSTASH-2288) by @DanielRedOak, current master fails when using conditionals in output block.
Here is a simple testcase and a fix proposal
@jordansissel can you please review