aws-elasticsearch

Enabling regex support on AWS Managed ElasticSearch in painless scripts

ε祈祈猫儿з 提交于 2019-12-05 06:03:33
I am trying to upload templates to my AWS managed ElasticSearch. ElasticSearch responds with a 500 error complaining that I need to set script.painless.regex.enabled to true . I know that you cannot edit the elasticsearch.yml file directly, but is there anyway to allow for support of regex in painless scripts on AWS managed ES? There is no way yet to use regex under AWS ES cluster. You can try to use StringTokenizer, as following example: example value: doc['your_str_field.keyword'].value = '{"xxx":"123213","yyy":"123213","zzz":"123213"}' Painless script: { "script": { "lang": "painless",

Route53 for AWS Elastic Search Domain gives certificate error

泄露秘密 提交于 2019-12-05 05:16:34
I have create a AWS elastic search domain in Virginia and got a Endpoint url. Now I wanted to configure the Route53 behavior around it, so that a caller can use the same url, even though there is some change in elastic search or in case of a disaster recovery. So, Virginia Route 53 -- 1 Points to -- Virgina Elastic Search Domain URL Oregon Route 53 -- 2 Points to -- Oregon Elastic Search Domain URL Main Route 53 -- 3 Points to -- Route 53 1 or 2 I have already create these and also created and uploaded SSL certificate with correct SAN entries. But when I execute, curl https://mainroute53