Giter Club home page Giter Club logo

kibana-buildpack's Introduction

Scalingo buildpack for Kibana

This buildpack downloads and installs Kibana into a Scalingo app image.

Compatibility

Tested against Kibana 6.8.23 - ES 6.8.23

Usage

To deploy your own Kibana, you've to do the following:

$ git init
$ scalingo create my-kibana
$ scalingo env-set BUILDPACK_URL=https://github.com/Scalingo/kibana-buildpack

# If you don't already have an elasticsearch instance from another app
$ scalingo addons-add scalingo-elasticsearch free
# If you already have the ES instance, refer its URL
$ scalingo env-set ELASTICSEARCH_URL="http://user:password@host:port"

$ echo 'web: kibana --port $PORT' > Procfile
$ git add Procfile
$ git commit -m "Prepare Kibana for Scalingo deployment"
$ git push scalingo master

That's it your Kibana is live, you may have to wait a few seconds to let kibana create its indexes, then refresh and the dashboard will be available.

Elasticsearch Configuration

HTTPS with self-signed certificate

Use the environment variable ELASICSEARCH_TLS_CA_URL to specify an URL to download the certificate from

Alternatively you can add the CA to your GIT repository and configure its path with the variable ELASTICSEARCH_TLS_CA_PATH (example: ca.crt)

Plugins

You may want to install plugins to your Kibana installation like logtrail. To do that, just create a file kibana-plugins with the urls of the plugins you wish to install.

Example of kibana-plugins file:

https://github.com/sivasamyk/logtrail/releases/download/v0.1.18/logtrail-5.5.0-0.1.18.zip

Plugins configuration

You may want to configure your plugins. To do that, just create a file 'plugins-config' with the local path of your config file and the path where this config file should be stored in the plugins directory.

Example of 'plugins-config' for the 'logtrail.json' file:

logtrail.json:logtrail/logtrail.json

Security

If bother environment variables KIBANA_USER and KIBANA_PASSWORD are defined, we'll deploy nginx alongside Kibana. All the requests will be authenticating by nginx before being proxied to Kibana. The latter is not longer directly reachable from the Internet.

Extra configuration

  • KIBANA_VERSION: Kibana version to install (e.g. 6.8.23)
  • DOWNLOAD_URL: Source of the kibana archive, default is: https://artifacts.elastic.co/downloads/kibana/kibana-${KIBANA_VERSION}-linux-x86_64.tar.gz

kibana-buildpack's People

Contributors

soulou avatar john-scalingo avatar khoan avatar etiennem avatar nz avatar cyrille-sg avatar sihamais avatar curzolapierre avatar brandon-welsch avatar jeromebu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.