puppet-windows_eventlog

####Table of Contents

  1. Overview
  2. Module Description - What is the windows_eventlog module?
  3. Setup - The basics of getting started with windows_eventlog
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

##Overview

Puppet module for managing windows event logs

Build Status

##Module Description

The purpose of this module is to manage each of the windows event logs, including the size, rotation and retention

##Setup

###What windows_eventlog affects

  • Sets registry keys to manage the event log configuration

###Beginning with windows_eventlog

Manage the size of the Application log:

    windows_eventlog { 'Application':
      log_path => '%SystemRoot%\system32\winevt\Logs\Application.evtx',
      log_size => '2048',
      max_log_policy = 'overwrite'
    }

##Usage

###Classes and Defined Types:

####Defined Type: windows_eventlog The primary definition of this module. Manages the size and rotation policy of windows event logs

Parameters within windows_eventlog: #####log_path The path to the log file that you want to manage

#####log_size The max size of the log file

#####max_log_policy The retention policy for the log

##Reference

###Defined Types ###Public Defined Types

##Limitations

This module is tested on the following platforms:

  • Windows 2008 R2

It is tested with the OSS version of Puppet only.

##Development

###Contributing

Please read CONTRIBUTING.md for full details on contributing to this project.