At the moment it's impossible to load external codecs since logstash will
The obvious patch:
Available since 1.4.0 https://github.com/elasticsearch/logstash/blob/master/lib/logstash/agent.rb#L272