RETIRED, Integrate Elasticsearch and Kibana with Fuel
Go to file
Simon Pasquier d3c1338e24 Add a tox environment to build the plugin
This change also updates the various .gitignore files to discard the
files and directories created by the fpb script.

Change-Id: Ica96a7262893529d8afce35cef877355c73f641c
2015-09-16 17:08:58 +02:00
deployment_scripts/puppet Add a tox environment to build the plugin 2015-09-16 17:08:58 +02:00
doc Add documentation placeholder 2015-09-16 16:04:31 +02:00
repositories Add a tox environment to build the plugin 2015-09-16 17:08:58 +02:00
specs s/ElasticSearch/Elasticsearch/ where appropriate 2015-04-23 15:54:26 +02:00
.gitignore Add a tox environment to build the plugin 2015-09-16 17:08:58 +02:00
.gitreview Added .gitreview 2015-02-13 08:49:06 +00:00
LICENSE Add appendix to LICENSE 2015-06-19 18:45:44 +02:00
README.md Switch to custom role elasticsearch_kibana 2015-09-09 09:31:07 +02:00
deployment_tasks.yaml Switch to custom role elasticsearch_kibana 2015-09-09 09:31:07 +02:00
environment_config.yaml Remove left-over in environmnet_config.yaml 2015-09-09 16:52:56 +02:00
functions.sh Use upstream Puppet modules 2015-08-10 12:27:09 +02:00
metadata.yaml Switch to custom role elasticsearch_kibana 2015-09-09 09:31:07 +02:00
node_roles.yaml Switch to custom role elasticsearch_kibana 2015-09-09 09:31:07 +02:00
pre_build_hook Remove the RPM packages 2015-09-11 17:30:21 +02:00
tasks.yaml Switch to custom role elasticsearch_kibana 2015-09-09 09:31:07 +02:00
test-requirements.txt Add a tox environment to build the plugin 2015-09-16 17:08:58 +02:00
tox.ini Add a tox environment to build the plugin 2015-09-16 17:08:58 +02:00
volumes.yaml Switch to custom role elasticsearch_kibana 2015-09-09 09:31:07 +02:00

README.md

Elasticsearch-Kibana Plugin for Fuel

Elasticsearch-Kibana plugin

Overview

Elasticsearch and Kibana provide a full-text search engine with a flexible web interface for exploring and visualizing data.

Requirements

Requirement Version/Comment
Mirantis OpenStack compatility 7.0 or higher

Recommendations

It is highly recommended to use dedicated disk(s) for data storage. Otherwise Elasticsearch will store its data on the root filesystem.

Limitations

None so far.

Installation Guide

Elasticsearch-Kibana plugin installation

To install the Elasticsearch-Kibana plugin, follow these steps:

  1. Download the plugin from the Fuel Plugins Catalog.

  2. Copy the plugin file to the Fuel Master node. Follow the Quick start guide if you don't have a running Fuel Master node yet.

    scp elasticsearch_kibana-0.8-0.8.0-0.noarch.rpm root@<Fuel Master node IP address>:
    
  3. Install the plugin using the fuel command line:

    fuel plugins --install elasticsearch_kibana-0.8-0.8.0-0.noarch.rpm
    
  4. Verify that the plugin is installed correctly:

    fuel plugins --list
    

Please refer to the Fuel Plugins wiki if you want to build the plugin by yourself. Version 3.0.0 (or higher) of the Fuel Plugin Builder is required.

User Guide

Elasticsearch-Kibana plugin configuration

  1. Create a new environment with the Fuel UI wizard.
  2. Click on the Settings tab of the Fuel web UI.
  3. Scroll down the page, select the "Elasticsearch-Kibana Server plugin" tab, enable the plugin and fill-in the required fields.
  4. Add a node with the "Elasticsearch Kibana" role.

Heap sizing

By default, 1G of heap memory is allocated to the Elasticsearch process. In many cases this number will be too small. You can modify this value up to 32GB. The recommendation is to give 50% of the available memory to Elasticsearch. If you set a value that is greater than the memory size of the node, Elasticsearch won't start.

Disks partitioning

The plugin uses:

  • 20% of the first disk for the operating system by honoring the range of 15GB minimum and 50GB maximum.
  • 10GB for /var/log.
  • at least 30GB for the Elasticsearch data (/opt/es-data).

Testing

Elasticsearch

Once installed, you can check that Elasticsearch is working using curl:

curl http://$HOST:9200/

Where HOST is the IP address or the name of the node that runs the server.

The expected output is something like this:

{
  "status" : 200,
  "name" : "node-23-es-01",
  "cluster_name" : "elasticsearch",
  "version" : {
    "number" : "1.4.4",
    "build_hash" : "c88f77ffc81301dfa9dfd81ca2232f09588bd512",
    "build_timestamp" : "2015-02-19T13:05:36Z",
    "build_snapshot" : false,
    "lucene_version" : "4.10.3"
  },
  "tagline" : "You Know, for Search"
}

Kibana

The Kibana user interface is available at the following URL:

http://$HOST/

Where HOST is the IP address or the name of the node. By default, you will be redirected to the logs dashboard.

Known issues

None.

Release Notes

0.8.0

  • Add the "elasticsearch_kibana" role (instead of leveraging on the "base-os" role)
  • Add support for data curation
  • Upgrade Elasticsearch to 1.4.5

0.7.0

  • Initial release of the plugin. This is a beta version.

Development

The OpenStack Development Mailing List is the preferred way to communicate, emails should be sent to openstack-dev@lists.openstack.org with the subject prefixed by [fuel][plugins][lma].

Reporting Bugs

Bugs should be filled on the Launchpad fuel-plugins project (not GitHub) with the tag lma.

Contributing

If you would like to contribute to the development of this Fuel plugin you must follow the OpenStack development workflow.

Patch reviews take place on the OpenStack gerrit system.

Contributors