Forge Home

cloudwatch

Manage the AWS CloudWatch Log Agent

7,788 downloads

7,635 latest version

4.3 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.1 (latest)
  • 0.1.0
released Mar 4th 2016
This version is compatible with:
  • ,

Start using this module

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

Add this module to your Puppetfile:

mod 'danieldreier-cloudwatch', '0.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add danieldreier-cloudwatch
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install danieldreier-cloudwatch --version 0.1.1

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

danieldreier/cloudwatch — version 0.1.1 Mar 4th 2016

puppet-cloudwatch puppet module

Overview

This module installs the AWS CloudWatch log agent and provides a cloudwatch::log defined type for shipping logs into CloudWatch.

Setup

What cloudwatch affects

This will:

  • install Amazon's log tailing agent and set up a service
  • send any logs you've configured it to log into CloudWatch

Setup Requirements

This will only work if you have IAM permissions configured to allow CloudWatch logs to be sent in from a given node. Consult the AWS docs for how to do that.

Beginning with cloudwatch

puppet module install danieldreier-cloudwatch
puppet apply -e 'include ::cloudwatch'
puppet apply -e "cloudwatch::log {'/var/log/messages': }"

Usage

Install the agent by including the ::cloudwatch class, then specify which logs to include with cloudwatch::log resources, like the example above.