Forge Home

beaver

Manages the beaver package, service and configuration to ship logfiles to logstash

EvenUp Inc

evenup

30,686 downloads

20,869 latest version

4.8 quality score

Version information

  • 1.5.0 (latest)
  • 1.4.0
  • 1.3.1
  • 1.3.0
  • 1.2.0
  • 1.1.0
  • 1.0.0
  • 0.0.2
  • 0.0.1
released Dec 1st 2015
This version is compatible with:
  • RedHat
    ,
    CentOS

Start using this module

Documentation

evenup/beaver — version 1.5.0 Dec 1st 2015

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

Usage:

You an install the module by just defining a logfile you'd like to ship if the beaver defaults work for you.

Example configuration with manifests

If beaver configuration is required, just specify it in the class:

Example configuration with hiera

+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