Code Monkey home page Code Monkey logo

ansible-kibana-basic-license's Introduction

Ansible Role: Kibana - Basic License

Kibana >5 with an Elasticsearch basic license

Background

  • Heavily inspired by geerlingguy/ansible-role-kibana
  • It is recommended to use this in conjunction with the official ansible-elastic role. If you're using only the basic license then you should enable x_pack on the instances and also enable monitoring on the instances
es_enable_xpack: true
es_xpack_features: 'monitoring'
  • X-Pack is great but defaults to running all features: security, monitoring, altering
  • However, with the basic license, only monitoring is free
  • The settings need to be specific to get Kibana to work with a basic license and for monitoring to appear
  • You'll need to register for a basic license so you can apply that to the node running Kibana. Link to register for a basic license You can apply the license via a curl request to a node by
curl -XPUT {your ip}/_xpack/license?acknowledge=true -H "Content-Type: application/json" -d @{your file}
  • My personal setup involves running n number of nodes with an additional coordinating node that is also running kibana

What This Role Does

  • Installs Kibana
  • Installs x-pack into Kibana
  • Stars Kibana as a service
  • Copies config into Kibana and restarts Kibana

Optional Vars

  • kibana_version defaults to 5.4.0
  • kibana_home defaults to /usr/share/kibana
  • es_major_version defaults to 5.x

References/Debugging

  • X-pack and basic license thread
  • This runs Kibana as a service and so Kibana debugging isn't outputted. To help debug it is useful to view the service logs by running on the server instance
sudo journalctl -f -u kibana
  • View your license by running:
curl {ip and host}/_xpack/license

This should respond with something like this:

{
  "license" : {
    "status" : "active",
    "uid" : "some-has",
    "type" : "basic",
    "issue_date" : "some-date",
    "issue_date_in_millis" : some-date
    "expiry_date" : "some-date",
    "expiry_date_in_millis" : some-date
    "max_nodes" : 100,
    "issued_to" : "your-name",
    "issuer" : "some-format",
    "start_date_in_millis" : some-date
  }
}

ansible-kibana-basic-license's People

Contributors

khaliqgant avatar

Watchers

 avatar  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.