Use the correct elasticsearch ec2 discovery plugin for the elasticsearch version (1.0.1) embedded in logstash 1.4.0.