Skip to content

omc/heroku-buildpack-kibana

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 

Repository files navigation

Heroku Buildpack for Kibana

This buildpack downloads and installs Kibana into a Heroku app slug. It is a fork of issueapp/heroku-buildpack-kibana, with some light customization for use as a one-click Heroku Button app.

For a one-click deploy of Kibana on Heroku, see omc/heroku-kibana.

Compatibility

Tested versions: 5.6.16 / 6.8.21 / 7.10.2

Usage

See our other repo at https://github.com/omc/heroku-kibana for a one-click deploy of Kibana on Heroku.

Or, to use as a standalone buildpack:

# Create a new project with the --buildpack option.
mkdir kibana1 && cd kibana1 && git init
heroku create kibana1 --buildpack https://github.com/omc/heroku-buildpack-kibana

# Let Kibana know where to find Elasticsearch.
heroku config:set ELASTICSEARCH_URL="https://kibanauser:kibanapass@host.region.bonsaisearch.net"

# Create a Procfile to run the Kibana web server.
echo 'web: kibana --port $PORT' > Procfile

# Push the above to trigger a deploy.
git add . && git commit -am "Kibana setup" && git push heroku master

# Open the app in your browser. You may be prompted for a username/password, which
# matches the username and password of your Elasticsearch URL.
heroku open

Private Spaces + VPC Peering

If you are using VPC peering from a private space, the automatic version detection will not work since the compile phase is run outside of the private space.

You must set the addition config vars.

# Set the verison.
heroku config:set ELASTICSEARCH_VERSION="6.8.21"

# Optionally set the build flavor (oss or x-pack). This defaults to oss.
heroku config:set ELASTICSEARCH_FLAVOR="oss"

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%