AWS ElasticSearch/Kibana Proxy to access your AWS ES cluster.
This is the solution for accessing your cluster if you have configured access policies for your ES domain
Install the npm module
npm install -g aws-es-kibana-xt
Set AWS credentials example below
export AWS_ACCESS_KEY_ID="AIUDUBSUNSKDKSMKMKSNDKSDNSJ"
export AWS_SECRET_ACCESS_KEY="sdefescvrefdc/casedfwedfwa"
export AWS_REGION="eu-west-1"
export ENDPOINT="search-xxxxx.us-west-2.es.amazonaws.com"
Run the proxy in two ways
- aws-es-kibana-xt
- aws-es-kibana-xt --region eu-west-1 search-mykibana-es-uat-testing.eu-west-1.es.amazonaws.com
Adopted from this gist. Thanks @nakedible-p