1.0.14 • Published 8 months ago

aws-es-kibana-xt v1.0.14

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 months ago

npm version

Deploy

AWS ES/Kibana Proxy

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

Usage

Install the npm module

npm install -g aws-es-kibana-xt

Set AWS credentials as environment variables as the 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" #this is your ElasticSearch endpoint

Run the proxy in two ways

  1. if you have set region and endpoint in your environment variables

aws-es-kibana-xt 2. if you have not set region and endpoint in your environment variables

aws-es-kibana-xt --region eu-west-1 --endpoint search-mykibana-es-uat-testing.eu-west-1.es.amazonaws.com

or

aws-es-kibana-xt -r eu-west-1 -e search-mykibana-es-uat-testing.eu-west-1.es.amazonaws.com

Run within docker container (under review)

Credits

Adopted from this gist. Thanks @nakedible-p