beaver

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

36,588 downloads

26,050 latest version

4.8 quality score

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

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

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'evenup-beaver', '1.5.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add evenup-beaver
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install evenup-beaver --version 1.5.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

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