What is it?
Puppet module install and configure beaver for shipping logs to logstash. Currently only redis is supported as the transport, but it would be easy to support additional transports.
Note: Beaver 29 or greater is now required because of the switch to conf.d style config
You an install the module by just defining a logfile you'd like to ship if the beaver defaults work for you.
If beaver configuration is required, just specify it in the class:
+Here it is assumed that the classes are loaded from hiera automatically (more info on puppetlabs).
--- classes: - beaver - beaver::stanzas beaver::stanzas: /var/log/messages: type: 'tomcat' tags: - 'messages' - 'prod' beaver::redis_host: 'redis-host.domain' beaver::redis_namespace: 'logstash' beaver::logstash_version: '1' TODO: -----  Support additional transports  Support adding environment fields  Add init file for Ubuntu systems License: -------- Released under the Apache 2.0 licence Contribute: ----------- * Fork it * Create a topic branch * Improve/fix (with spec tests) * Push new topic branch * Submit a PR
20151201 - v1.5.0 Add * to stanza filename replace Allow specifying beaver version Add beaver::stanzas for easier hiera integration Add systemd unit file Move beaver config file to /etc/beaver/beaver.conf 20150417 - v1.4.0 Set logstash_version to 1 20150414 - v1.3.1 Update for future parser 20150105 - v1.3.0 Add acceptance tests Fixes for future parser 20141106 - v1.2.0 Add virtualenv support (dansajner) 20140610 - v1.1.0 Testing updates 20140114 - v1.0.0 Rewrite to use conf.d style config (beaver 29 required) Support logstash version (beaver 31) sincedb support (beaver 29) Multiline support (beaver 30) v0.0.2 Lint/spec improvements/fixes Package updates restart service v0.0.1: Initial release
Copyright 2013 EvenUp Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.