Pipe output erroring: <NoMethodError: undefined method `close' for #<PipeWrapper:0x144c6900 @pipe=#<IO:fd 184>

Description

I noticed that one of my outputs has been causing issues with logstash. I have a redis output and a pipe output. The consequence is that it appears that the redis output is loosing messages - I'm not completely sure that's the case (If you have some even better debugging tips besides output{stdout{debug=>true}}, I'm seriously interested).

:message=>"Failed to close pipe.", :error=>#<NoMethodError: undefined method `close' for #<PipeWrapper:0x144c6900 @pipe=#<IO:fd 184>, @active=true

:message=>"Error writing to pipe, closing pipe.", :command=>"/usr/local/sbin/log_event.py", ipe=>#<PipeWrapper:0x144c6900 @pipe=#<IO:fd 184>, @active=true>, :level=>:error}

gist here: https://gist.github.com/jeredding/4fe38d80c62a864ce2ef

Gliffy Diagrams

Activity

Show:

Details

Assignee

Reporter

Affects versions

Created August 14, 2013 at 7:02 PM
Updated August 14, 2013 at 7:02 PM