Kibana 3.1.2 as an Aptible app.
To run as an app on Aptible:
-
Create an app in your Aptible dashboard for Kibana. In the steps that follow, we'll use <YOUR_KIBANA_APP_HANDLE> anywhere that you should substitute the actual app handle the results from this step in the instructions.
-
Use the Aptible CLI to set AUTH_CREDENTIALS to the username/password you want to use to access the app. To set the user to "foo" and password to "bar", run:
aptible config:set AUTH_CREDENTIALS=foo:bar --app <YOUR_KIBANA_APP_HANDLE>
-
Use the Aptible CLI to set DATABASE_URL to the URL of your Elasticsearch instance on Aptible (this is just the connection string presented in the Aptible dashboard when you select your Elasticsearch instance). If your URL is http://user:[email protected], run:
aptible config:set DATABASE_URL=http://user:[email protected] --app <YOUR_KIBANA_APP_HANDLE>
-
(Optional) Kibana config options can be set for
default_route
andkibana_index
which are then saved to the config.js:aptible config:set DEFAULT_ROUTE=/path/to/default --app <YOUR_KIBANA_APP_HANDLE> aptible config:set KIBANA_INDEX=your_index --app <YOUR_KIBANA_APP_HANDLE>
-
Clone this repository and push it to your Aptible app:
git clone https://github.com/aptible/docker-kibana.git cd docker-kibana git remote add aptible [email protected]:<YOUR_KIBANA_APP_HANDLE>.git git push aptible master
You should be up and running now. If you're new to Kibana, try working through the Kibana 10 minute walk through as an introduction.
MIT License, see LICENSE for details.
Copyright (c) 2014 Aptible and contributors.