https://github.com/wikimedia/operations-puppet
Revision 00542259cfa5f1a0c6d365bb18d17f695be4dad9 authored by Guillaume Lederrey on 08 February 2016, 10:44:39 UTC, committed by Guillaume Lederrey on 12 February 2016, 16:16:16 UTC
WIP - do not merge yet

Introduce gelf4j as a log4j appender to send logs to logstash. Sending log
to logstash is disabled by default and is activated if
$elasticsearch::graylog_hosts is not `undef`.

* deploy necessary packages (liblogstash-gelf-java, libjson-simple-java)
* create symlinks from jars to /usr/share/elasticsearch/lib
* add necessary configuration to /etc/elasticsearch/logging.yml
* hiera config to activate this in labs (deployment-prep)

Still to do:

* test in labs

Bug: T109101
Change-Id: I683bcb75c91e6c2f4dd648517435a477ab23c2a7
1 parent f5d8b19
History
Tip revision: 00542259cfa5f1a0c6d365bb18d17f695be4dad9 authored by Guillaume Lederrey on 08 February 2016, 10:44:39 UTC
Ship Elasticsearch logs to logstash
Tip revision: 0054225
File Mode Size
labs

back to top