Forge Home


Installs and configures Kibana4 from packages.


6,874 latest version

4.3 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 5.1.0 (latest)
  • 5.0.1
  • 5.0.0
  • 4.1.0
  • 4.0.1
  • 4.0.0
  • 3.1.0
  • 3.0.0
  • 2.6.0
  • 2.5.3
  • 2.3.1
  • 2.3.0
  • 2.2.1
  • 2.2.0
released Feb 28th 2017
This version is compatible with:
  • Puppet Enterprise 3.x
  • Puppet >=3.4.0 <5.0.0
  • , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'cristifalcas-kibana', '5.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add cristifalcas-kibana
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install cristifalcas-kibana --version 5.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



cristifalcas/kibana — version 5.1.0 Feb 28th 2017


Build Status

Table of Contents

  1. Overview
  2. Usage - Configuration options and additional functionality
  3. Development - Guide for contributing to the module


Kibana is an open source analytics and visualization platform designed to work with Elasticsearch. You use Kibana to search, view, and interact with data stored in Elasticsearch indices. You can easily perform advanced data analysis and visualize your data in a variety of charts, tables, and maps.

This module is for kibana 5.x


  include ::kibana

  # in order for the following configuration to work you will need to allow users kibana
  # and apache acccess to puppet certificates
  class { 'kibana':
    server_ssl_enable => true,
    server_ssl_cert   => "${::settings::ssldir}/certs/${::clientcert}.pem",
    server_ssl_key    => "${::settings::ssldir}/private_keys/${::clientcert}.pem",

  class { 'kibana::proxy::apache':
    ssl_port => 8443,
    ssl_cert => "${::settings::ssldir}/certs/${::clientcert}.pem",
    ssl_key  => "${::settings::ssldir}/private_keys/${::clientcert}.pem",

Connecting to elasticsearch directly:


Using kopf plugin behind the proxy:

  elasticsearch::plugin { 'lmenezes/elasticsearch-kopf':
    module_dir => 'kopf',
    instances  => $instance_name,
  } ->
  file { '/usr/share/elasticsearch/plugins/kopf/_site/kopf_external_settings.json':
    content => '{
    "elasticsearch_root_path": "/_elastic/",
    "with_credentials": false,
    "theme": "dark",
    "refresh_rate": 5000

Connecting to plugins:


Using a plain file to authenticate:

  htpasswd { 'user_name':
    cryptpasswd => ht_sha1('password'),
    target      => "${::apache::conf_dir}/kibana.htpasswd",
  } ->
  file { "${::apache::conf_dir}/kibana.htpasswd":
    owner => 'apache',

  class { 'kibana::proxy::apache':
    ssl_port => 8443,
    ssl_ca   => "${::settings::ssldir}/certs/ca.pem",
    ssl_cert => "${::settings::ssldir}/certs/${::clientcert}.pem",
    ssl_key  => "${::settings::ssldir}/private_keys/${::clientcert}.pem",
    custom_fragment => "
    <Proxy *>
        Order Allow,Deny
        Allow from all
        AuthName 'we need your user and password'
        AuthType basic
        AuthBasicProvider file
        AuthUserFile ${::apache::conf_dir}/kibana.htpasswd
        Require valid-user

Using ldap to authenticate:

  include apache::mod::authnz_ldap
  class { 'kibana::proxy::apache':
    ssl_port => 8443,
    ssl_ca   => "${::settings::ssldir}/certs/ca.pem",
    ssl_cert => "${::settings::ssldir}/certs/${::clientcert}.pem",
    ssl_key  => "${::settings::ssldir}/private_keys/${::clientcert}.pem",
    custom_fragment => "
    <Proxy *>
        Order Allow,Deny
        Allow from all
        AuthName 'we need your user and password'
        AuthType Basic
        AuthBasicProvider ldap
        AuthUserFile /dev/null
        AuthLDAPUrl ldap://${ldap_server}:389/${ldap_search_base}?sAMAccountName
        AuthLDAPBindDN ${ldap_search_name}
        AuthLDAPBindPassword ${ldap_search_pass}
        Require ldap-group CN=GROUP1,OU=Groups,${ldap_search_base}
        Require ldap-group CN=GROUP2,OU=Groups,${ldap_search_base}


  • Fork the project
  • Commit and push until you are happy with your contribution
  • Send a pull request with a description of your changes