├── .gitignore ├── Dockerfile ├── LICENSE ├── Procfile ├── README.md ├── app.json ├── aws-es-kibana.png ├── index.js ├── package-lock.json └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | 6 | # Runtime data 7 | pids 8 | *.pid 9 | *.seed 10 | 11 | # Directory for instrumented libs generated by jscoverage/JSCover 12 | lib-cov 13 | 14 | # Coverage directory used by tools like istanbul 15 | coverage 16 | 17 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 18 | .grunt 19 | 20 | # node-waf configuration 21 | .lock-wscript 22 | 23 | # Compiled binary addons (http://nodejs.org/api/addons.html) 24 | build/Release 25 | 26 | # Dependency directory 27 | node_modules 28 | 29 | # Optional npm cache directory 30 | .npm 31 | 32 | # Optional REPL history 33 | .node_repl_history 34 | 35 | .aws_configure 36 | .idea 37 | *.swo 38 | *.swp 39 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:8 2 | 3 | WORKDIR /app 4 | 5 | RUN useradd -ms /bin/bash aws-es-kibana 6 | RUN chown aws-es-kibana:aws-es-kibana /app 7 | 8 | COPY package.json /app 9 | RUN npm install 10 | COPY index.js /app 11 | 12 | EXPOSE 9200 13 | 14 | ENTRYPOINT ["node", "index.js"] 15 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright {yyyy} {name of copyright owner} 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: node index.js 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![npm version](https://badge.fury.io/js/aws-es-kibana.svg)](https://badge.fury.io/js/aws-es-kibana) ![dependencies](https://david-dm.org/santthosh/aws-es-kibana.svg) 2 | [![Docker Stars](https://img.shields.io/docker/stars/santthosh/aws-es-kibana.svg)](https://registry.hub.docker.com/v2/repositories/santthosh/aws-es-kibana/stars/count/) 3 | 4 | [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/santthosh/aws-es-kibana) 5 | 6 | # AWS ES/Kibana Proxy 7 | 8 | AWS ElasticSearch/Kibana Proxy to access your [AWS ES](https://aws.amazon.com/elasticsearch-service/) cluster. 9 | 10 | This is the solution for accessing your cluster if you have [configured access policies](http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-access-policies) for your ES domain 11 | 12 | ## Usage 13 | 14 | Install the npm module 15 | 16 | npm install -g aws-es-kibana 17 | 18 | Set AWS credentials 19 | 20 | export AWS_ACCESS_KEY_ID=XXXXXXXXXXXXXXXXXXX 21 | export AWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXXXXXX 22 | 23 | Run the proxy (do not include the `http` or `https` from your `cluster-endpoint` or the proxy won't function) 24 | 25 | aws-es-kibana 26 | 27 | Where cluster-endpoint can be either a URL (i.e. https://search-xxxxx.us-west-2.es.amazonaws.com) or a hostname (i.e. search-xxxxx.us-west-2.es.amazonaws.com). 28 | Alternatively, you can set the _AWS_PROFILE_ environment variable 29 | 30 | AWS_PROFILE=myprofile aws-es-kibana 31 | 32 | Example with hostname as cluster-endpoint: 33 | 34 | ![aws-es-kibana](https://raw.githubusercontent.com/santthosh/aws-es-kibana/master/aws-es-kibana.png) 35 | 36 | ### Run within docker container 37 | 38 | If you are familiar with Docker, you can run `aws-es-kibana` within a Docker container 39 | 40 | You can pull the official container for use 41 | 42 | docker pull santthosh/aws-es-kibana:latest 43 | 44 | (or) Build the image 45 | 46 | docker build -t aws-es-kibana . 47 | 48 | Run the container (do not forget to pass the required environment variables) 49 | 50 | docker run -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -p 127.0.0.1:9200:9200 aws-es-kibana -b 0.0.0.0 51 | 52 | 53 | ## Credits 54 | 55 | Adopted from this [gist](https://gist.github.com/nakedible-p/ad95dfb1c16e75af1ad5). Thanks [@nakedible-p](https://github.com/nakedible-p) 56 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "aws-es-kibana", 3 | "description": "A simple proxy to allow external access to your AWS Kibana instance", 4 | "repository": "https://github.com/santthosh/aws-es-kibana", 5 | "logo": "https://raw.githubusercontent.com/santthosh/aws-es-kibana/master/aws-es-kibana.png", 6 | "keywords": [ 7 | "AWS", 8 | "ES", 9 | "ElasticSearch", 10 | "Kibana", 11 | "AWS ES Proxy", 12 | "AWS ES Kibana" 13 | ], 14 | "env": { 15 | "BIND_ADDRESS": "0.0.0.0", 16 | "AWS_ACCESS_KEY_ID": "Your AWS Access Key ID Here", 17 | "AWS_SECRET_ACCESS_KEY": "Your AWS Secret Key Here", 18 | "ENDPOINT": "ES Endpoint (ex: my-endpoint.region-1.es.amazonaws.com)", 19 | "USER": "HTTP Auth Username", 20 | "PASSWORD" : "HTTP Auth Password", 21 | "BIND_ADDRESS" : "0.0.0.0", 22 | "HEALTH_PATH" : "Optional HTTP Path for health check (ex: '/health')" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /aws-es-kibana.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santthosh/aws-es-kibana/2c4374c1bcdbb8a4f38dd4bdc16f2eb48c7a33e9/aws-es-kibana.png -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var AWS = require('aws-sdk'); 4 | var http = require('http'); 5 | var httpProxy = require('http-proxy'); 6 | var express = require('express'); 7 | var bodyParser = require('body-parser'); 8 | var stream = require('stream'); 9 | var figlet = require('figlet'); 10 | var basicAuth = require('express-basic-auth'); 11 | var compress = require('compression'); 12 | const fs = require('fs'); 13 | const homedir = require('os').homedir(); 14 | 15 | var yargs = require('yargs') 16 | .usage('usage: $0 [options] ') 17 | .option('b', { 18 | alias: 'bind-address', 19 | default: process.env.BIND_ADDRESS || '127.0.0.1', 20 | demand: false, 21 | describe: 'the ip address to bind to', 22 | type: 'string' 23 | }) 24 | .option('p', { 25 | alias: 'port', 26 | default: process.env.PORT || 9200, 27 | demand: false, 28 | describe: 'the port to bind to', 29 | type: 'number' 30 | }) 31 | .option('r', { 32 | alias: 'region', 33 | default: process.env.REGION, 34 | demand: false, 35 | describe: 'the region of the Elasticsearch cluster', 36 | type: 'string' 37 | }) 38 | .option('u', { 39 | alias: 'user', 40 | default: process.env.AUTH_USER ||process.env.USER, 41 | demand: false, 42 | describe: 'the username to access the proxy' 43 | }) 44 | .option('a', { 45 | alias: 'password', 46 | default: process.env.AUTH_PASSWORD || process.env.PASSWORD, 47 | demand: false, 48 | describe: 'the password to access the proxy' 49 | }) 50 | .option('s', { 51 | alias: 'silent', 52 | default: false, 53 | demand: false, 54 | describe: 'remove figlet banner' 55 | }) 56 | .option('H', { 57 | alias: 'health-path', 58 | default: process.env.HEALTH_PATH, 59 | demand: false, 60 | describe: 'URI path for health check', 61 | type: 'string' 62 | }) 63 | .option('l', { 64 | alias: 'limit', 65 | default: process.env.LIMIT || '10000kb', 66 | demand: false, 67 | describe: 'request limit' 68 | }) 69 | .help() 70 | .version() 71 | .strict(); 72 | var argv = yargs.argv; 73 | 74 | var ENDPOINT = process.env.ENDPOINT || argv._[0]; 75 | 76 | if (!ENDPOINT) { 77 | yargs.showHelp(); 78 | process.exit(1); 79 | } 80 | 81 | // Try to infer the region if it is not provided as an argument. 82 | var REGION = argv.r; 83 | if (!REGION) { 84 | var m = ENDPOINT.match(/\.([^.]+)\.es\.amazonaws\.com\.?(?=.*$)/); 85 | if (m) { 86 | REGION = m[1]; 87 | } else { 88 | console.error('region cannot be parsed from endpoint address, either the endpoint must end ' + 89 | 'in ..es.amazonaws.com or --region should be provided as an argument'); 90 | yargs.showHelp(); 91 | process.exit(1); 92 | } 93 | } 94 | 95 | var TARGET = process.env.ENDPOINT || argv._[0]; 96 | if (!TARGET.match(/^https?:\/\//)) { 97 | TARGET = 'https://' + TARGET; 98 | } 99 | 100 | var BIND_ADDRESS = argv.b; 101 | var PORT = argv.p; 102 | var REQ_LIMIT = argv.l; 103 | 104 | var credentials; 105 | 106 | var PROFILE = process.env.AWS_PROFILE; 107 | 108 | if (!PROFILE) { 109 | var chain = new AWS.CredentialProviderChain(); 110 | chain.resolve(function (err, resolved) { 111 | if (err) throw err; 112 | else credentials = resolved; 113 | }); 114 | } else { 115 | credentials = new AWS.SharedIniFileCredentials({profile: PROFILE}); 116 | AWS.config.credentials = credentials; 117 | } 118 | 119 | function getCredentials(req, res, next) { 120 | return credentials.get(function (err) { 121 | if (err) return next(err); 122 | else return next(); 123 | }); 124 | } 125 | 126 | var options = { 127 | target: TARGET, 128 | changeOrigin: true, 129 | secure: true 130 | }; 131 | 132 | var proxy = httpProxy.createProxyServer(options); 133 | 134 | var app = express(); 135 | app.use(compress()); 136 | app.use(bodyParser.raw({limit: REQ_LIMIT, type: function() { return true; }})); 137 | app.use(getCredentials); 138 | 139 | if (argv.H) { 140 | app.get(argv.H, function (req, res) { 141 | res.setHeader('Content-Type', 'text/plain'); 142 | res.send('ok'); 143 | }); 144 | } 145 | 146 | if (argv.u && argv.a) { 147 | 148 | var users = {}; 149 | var user = process.env.USER || process.env.AUTH_USER; 150 | var pass = process.env.PASSWORD || process.env.AUTH_PASSWORD; 151 | 152 | users[user] = pass; 153 | 154 | app.use(basicAuth({ 155 | users: users, 156 | challenge: true 157 | })); 158 | } 159 | 160 | app.use(async function (req, res) { 161 | var bufferStream; 162 | if (Buffer.isBuffer(req.body)) { 163 | var bufferStream = new stream.PassThrough(); 164 | await bufferStream.end(req.body); 165 | } 166 | proxy.web(req, res, {buffer: bufferStream}); 167 | }); 168 | 169 | proxy.on('proxyReq', function (proxyReq, req) { 170 | var endpoint = new AWS.Endpoint(ENDPOINT); 171 | var request = new AWS.HttpRequest(endpoint); 172 | request.method = proxyReq.method; 173 | request.path = proxyReq.path; 174 | request.region = REGION; 175 | if (Buffer.isBuffer(req.body)) request.body = req.body; 176 | if (!request.headers) request.headers = {}; 177 | request.headers['presigned-expires'] = false; 178 | request.headers['Host'] = endpoint.hostname; 179 | 180 | var signer = new AWS.Signers.V4(request, 'es'); 181 | signer.addAuthorization(credentials, new Date()); 182 | 183 | proxyReq.setHeader('Host', request.headers['Host']); 184 | proxyReq.setHeader('X-Amz-Date', request.headers['X-Amz-Date']); 185 | proxyReq.setHeader('Authorization', request.headers['Authorization']); 186 | if (request.headers['x-amz-security-token']) proxyReq.setHeader('x-amz-security-token', request.headers['x-amz-security-token']); 187 | }); 188 | 189 | proxy.on('proxyRes', function (proxyReq, req, res) { 190 | if (req.url.match(/\.(css|js|img|font)/)) { 191 | res.setHeader('Cache-Control', 'public, max-age=86400'); 192 | } 193 | }); 194 | 195 | http.createServer(app).listen(PORT, BIND_ADDRESS); 196 | 197 | if(!argv.s) { 198 | console.log(figlet.textSync('AWS ES Proxy!', { 199 | font: 'Speed', 200 | horizontalLayout: 'default', 201 | verticalLayout: 'default' 202 | })); 203 | } 204 | 205 | console.log('AWS ES cluster available at http://' + BIND_ADDRESS + ':' + PORT); 206 | console.log('Kibana available at http://' + BIND_ADDRESS + ':' + PORT + '/_plugin/kibana/'); 207 | if (argv.H) { 208 | console.log('Health endpoint enabled at http://' + BIND_ADDRESS + ':' + PORT + argv.H); 209 | } 210 | 211 | fs.watch(`${homedir}/.aws/credentials`, (eventType, filename) => { 212 | credentials = new AWS.SharedIniFileCredentials({profile: PROFILE}); 213 | AWS.config.credentials = credentials; 214 | }); 215 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "aws-es-kibana", 3 | "version": "1.0.8-pre", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "basic-auth": { 8 | "version": "1.1.0", 9 | "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-1.1.0.tgz", 10 | "integrity": "sha1-RSIe5Cn37h5QNb4/UVM/HN/SmIQ=" 11 | }, 12 | "express-basic-auth": { 13 | "version": "1.1.5", 14 | "resolved": "https://registry.npmjs.org/express-basic-auth/-/express-basic-auth-1.1.5.tgz", 15 | "integrity": "sha512-mDp1yMjZbCzH7Ixp8k20TyYiNgUdEso8XwUglWHbFZwivX32c5pbB24wcGL+feWXLqinJCvGvuuJSqLih+MV/g==", 16 | "requires": { 17 | "basic-auth": "^1.1.0" 18 | } 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "aws-es-kibana", 3 | "version": "1.0.8-pre", 4 | "description": "AWS ElasticSearch/Kibana Proxy", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "engines": { 10 | "node": ">=6.3.0" 11 | }, 12 | "repository": { 13 | "type": "git", 14 | "url": "git+https://github.com/santthosh/aws-es-kibana.git" 15 | }, 16 | "keywords": [ 17 | "AWS", 18 | "ES", 19 | "ElasticSearch", 20 | "Kibana", 21 | "AWS ES Proxy", 22 | "AWS ES Kibana" 23 | ], 24 | "author": "santthosh", 25 | "license": "Apache-2.0", 26 | "bugs": { 27 | "url": "https://github.com/santthosh/aws-es-kibana/issues" 28 | }, 29 | "homepage": "https://github.com/santthosh/aws-es-kibana#readme", 30 | "preferGlobal": true, 31 | "bin": { 32 | "aws-es-kibana": "index.js" 33 | }, 34 | "dependencies": { 35 | "aws-sdk": "^2.48.0", 36 | "body-parser": "^1.15.2", 37 | "compression": "^1.6.2", 38 | "express": "^4.14.0", 39 | "express-basic-auth": "^1.1.5", 40 | "figlet": "^1.1.2", 41 | "http-proxy": "^1.14.0", 42 | "yargs": "^4.8.1" 43 | } 44 | } 45 | --------------------------------------------------------------------------------