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 or if you are using puppet >= 3.0 with hiera:
beaver::stanza { '/var/log/messages': type => 'syslog', tags => ['messages', 'prod'], }
If beaver configuration is required, just specify it in the class:
class { 'beaver': redis_host => 'logstash.example.org', redis_namespace => 'logstash::prod' }
[] Support additional transports [] Support adding environment fields
Released under the Apache 2.0 licence
- Fork it
- Create a topic branch
- Improve/fix (with spec tests)
- Push new topic branch
- Submit a PR