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
conftool-data
doc
files
hieradata
manifests
modules
nodes
templates
utils
.ctags -rw-r--r-- 323 bytes
.gitignore -rw-r--r-- 431 bytes
.gitmodules -rw-r--r-- 961 bytes
.gitreview -rw-r--r-- 101 bytes
.puppet-lint.rc -rw-r--r-- 609 bytes
.rubocop.yml -rw-r--r-- 674 bytes
.rubocop_todo.yml -rw-r--r-- 12.5 KB
.ruby-version -rw-r--r-- 4 bytes
Gemfile -rw-r--r-- 166 bytes
Gemfile.lock -rw-r--r-- 1.2 KB
README -rw-r--r-- 783 bytes
Rakefile -rw-r--r-- 5.6 KB
tox.ini -rw-r--r-- 244 bytes
typos -rw-r--r-- 69 bytes

README

back to top