kolla-ansible/docker
Éric Lemoine 491aff0b88 Make Heka send logs to Elasticsearch
This patch includes changes relative to integrating Heka with
Elasticsearch and Kibana.

The main change is the addition of an Heka ElasticSearchOutput plugin
to make Heka send the logs it collects to Elasticsearch.

Since Logstash is not used the enable_elk deploy variable is renamed
to enable_central_logging.

If enable_central_logging is false then Elasticsearch and Kibana are
not started, and Heka won't attempt to send logs to Elasticsearch.

By default enable_central_logging is set to false. If
enable_central_logging is set to true after deployment then the Heka
container needs to be recreated (for Heka to get the new
configuration).

The Kibana configuration used property names that are deprecated in
Kibana 4.2. This is changed to use non-deprecated property names.

Previously logs read from files and from Syslog had a different Type
in Heka. This is changed to always use "log" for the Type. In this
way just one index instead of two is used in Elasticsearch, making
things easier to the user on the visualization side.

The HAProxy configuration is changed to add entries for Kibana.
Kibana server is now accessible via the internal VIP, and also via
the external VIP if there's one configured.

The HAProxy configuration is changed to add an entry for
Elasticsearch. So Elasticsearch is now accessible via the internal
VIP. Heka uses that channel for communicating with Elasticsearch.

Note that currently the Heka logs include "Plugin
elasticsearch_output" errors when Heka starts. This occurs when Heka
starts processing logs while Elasticsearch is not yet started. These
are transient errors that go away when Elasticsearch is ready. And
with buffering enabled on the ElasticSearchOuput plugin logs will be
buffered and then retransmitted when Elasticsearch is ready.

Change-Id: I6ff7a4f0ad04c4c666e174693a35ff49914280bb
Implements: blueprint central-logging-service
2016-03-05 11:51:49 +01:00
..
aodh Aodh ubuntu binary container 2016-02-16 12:01:14 +05:30
base Reconfigure keystone service 2016-02-27 02:15:48 +00:00
ceilometer Fix missing libraries for ceilometer 2016-03-01 10:01:44 -05:00
ceph Switch ceph to use storage network 2016-02-24 17:19:52 +00:00
chronos Add Dockerfiles for Mesos 2016-01-19 17:34:58 +01:00
cinder Merge "Allow cinder-volume to be configured to use nfs on Centos" 2016-02-24 17:03:03 +00:00
designate fix spelling problem in designate-sink ubuntu binary 2016-02-17 17:39:53 -03:30
dind Safely create directories 2016-02-10 08:25:23 +09:00
elasticsearch Added Elasticearch and its deployment. 2016-02-13 07:53:24 +00:00
glance Remove duplicate code in glance extend_start.sh 2016-02-24 11:41:24 +01:00
gnocchi gnocchi is busted missing tooz for source 2016-02-03 19:23:36 +00:00
haproxy cloud-archive contains newer version of haproxy 2016-02-23 00:42:48 +00:00
heat Remove duplicate code in heat extend_start.sh 2016-02-24 11:57:56 +01:00
heka Make Heka send logs to Elasticsearch 2016-03-05 11:51:49 +01:00
horizon Fix horizon startup failure 2016-02-13 15:39:22 -03:30
ironic Move ironic-discoverd to ironic-inspector 2016-02-29 11:47:52 +08:00
keepalived Make Heka collect HAProxy and Keepalived logs 2016-02-19 20:32:10 +00:00
keystone Remove keystone admin token 2016-03-01 00:14:06 +00:00
kibana Added Kibana and its deployment. 2016-01-26 15:53:13 +00:00
kolla-toolbox Sanity check for swift 2016-02-29 18:23:13 +03:00
magnum Remove duplicate code in magnum extend_start.sh 2016-02-24 12:04:03 +01:00
manila Add manila_sudoers file 2016-02-24 13:30:29 -05:00
marathon Add Dockerfiles for Mesos 2016-01-19 17:34:58 +01:00
mariadb Make Heka collect MariaDB logs 2016-02-19 21:49:21 +00:00
memcached Remove hardcoded MAINTAINER in Dockerfiles 2015-11-23 11:03:47 +00:00
mesos Add Dockerfiles for Mesos 2016-01-19 17:34:58 +01:00
mesosphere/mesosphere-base Add Dockerfiles for Mesos 2016-01-19 17:34:58 +01:00
mistral Make Heka collect Mistral logs 2016-02-23 01:33:47 -08:00
mongodb Add an ansible role for mongodb 2016-01-27 10:48:34 -05:00
murano Remove duplicate code in murano extend_start.sh 2016-02-24 12:10:34 +01:00
neutron Remove duplicate code in neutron extend_start.sh 2016-02-24 11:29:10 +01:00
nova nova-libvirt is not a child of nova-base 2016-02-25 16:28:49 +00:00
openstack-base Fix building centos kolla-toolbox 2016-02-23 02:54:00 +00:00
openvswitch configure ovs bridge in openvswitch-db container 2015-12-03 20:13:21 +00:00
rabbitmq Make Heka collect RabbitMQ logs 2016-02-19 20:32:25 +00:00
swift Merge "Swift ubuntu binary container" 2016-02-22 15:35:00 +00:00
tempest Tempest ubuntu binary container 2016-02-23 09:38:47 +00:00
trove Remove unneeded deps 2016-02-23 12:15:14 +09:00
zaqar Remove old config-external.sh 2016-01-15 13:36:11 +08:00
zookeeper Ensure that /var/lib/zookeeper is owned by user 2016-02-16 00:41:45 +01:00