Unable to get AWS EC2 discovery to work with Logstash


(Ralph Trickey-2) #1

I've also tried posting to the logstash group with no answer. I'm hoping
it's something simple otherwise I'll have to write my own discovery
mechanism.

I have been totally unable to get AWS EC2 discovery to work. If I change to
unicast discovery, it works fine.

The same configuration works fine from ElasticSearch, it doesn't work from
Logstash.

Any help at all is appreciated, this is driving my nuts.

I'm starting logstash with this.

lsindexer.sh
java -cp
"elasticsearch-0.20.6/plugins/cloud-aws/elasticsearch-cloud-aws-1.11.0/*"
-jar logstash-1.1.13-monolithic.jar agent -f lsindexer.conf --log
/var/log/lsindexer.log

elasticsearch.yml
...
cloud.aws.region: us-west-2

discovery.type: ec2
discovery.ec2.groups: Cabin
#discovery.ec2.tags.stage: dev
discovery.ec2.ping_timeout: 20

lsindexer.conf
...
output {

stdout { debug => true debug_format => "json"}

elasticsearch {
}
}

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #2