Open Dgadavin opened 7 years ago
@devinsba if you have a few mins, can you check this out? otherwise I can try tomorrow
I find a workaround to use ES_HOSTS
It's work for me. But I think that the my problem was connected to AWS credentials . I tried to use instance profile.
I don't use the ES_AWS_DOMAIN
variable but in order to do that, you just give it the name of the ES domain as it gets displayed in the console, not the full URL, then it looks up the URL based on that
Yes I use only domain name but after start he give me 403 Forbidden in UI. Maybe I need some extra permission in my IAM instance profile?
Ok, your example in the issue does not reflect what you just said. In case we are misunderstanding each other.
Instead of:
ES_AWS_DOMAIN="https://search-elk-test-<SOME-ID>.eu-west-1.es.amazonaws.com"
You use:
ES_AWS_DOMAIN="search-elk-test
It will also need describe permission on the ES domain. I can't give you an exact policy though as I use ES_HOSTS
for our configuration
Ok. Sorry for misunderstanding. Basically I start using ES_AWS_DOMAIN="search-elk-test
after I open the issue. Will try to give describe permission on the ES domain. Thanks
I think we are missing a README here: https://github.com/openzipkin/zipkin/tree/master/zipkin-autoconfigure/storage-elasticsearch-aws
which should look similar to here (including a link to perms): https://github.com/openzipkin/zipkin-aws/tree/master/collector-kinesis#collector-kinesis
Also in https://github.com/openzipkin/zipkin/blob/master/zipkin-autoconfigure/storage-elasticsearch-aws/src/main/java/zipkin/autoconfigure/storage/elasticsearch/aws/ElasticsearchDomainEndpoint.java at line 51 code is looking for DomainStatus.Endpoint in json which is not returned by AWS in ES Describe call
I revised the error messages here so that they have more content when something bad happens (Ex at least the response status, which for example 403 could hint at an auth problem)
Hello guys. I've tried to start zipkin with AWS elasticsearch as a bacend but have such error in UI
ERROR: cannot load service names:
Here is my docker run stringdocker run -d --name zipkin -p 9411:9411 -e STORAGE_TYPE=elasticsearch -e ES_AWS_DOMAIN="https://search-elk-test-<SOME-ID>.eu-west-1.es.amazonaws.com" openzipkin/zipkin
I deployed AWS elastic as a public domain so each service has access. Please help. Thanks