{"id":15022531,"url":"https://github.com/puppetlabs/puppetlabs-windows_eventlog","last_synced_at":"2026-04-16T17:01:18.802Z","repository":{"id":9440981,"uuid":"11317316","full_name":"puppetlabs/puppetlabs-windows_eventlog","owner":"puppetlabs","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-15T10:32:02.000Z","size":218,"stargazers_count":5,"open_issues_count":0,"forks_count":17,"subscribers_count":28,"default_branch":"main","last_synced_at":"2024-10-29T17:20:45.342Z","etag":null,"topics":["hacktoberfest","module","puppet","supported","windows-puppet-module"],"latest_commit_sha":null,"homepage":"https://forge.puppet.com/puppet/windows_eventlog","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jadwigo/bolt-extension-clientlogin","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/puppetlabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-07-10T16:26:08.000Z","updated_at":"2024-10-15T10:32:06.000Z","dependencies_parsed_at":"2023-09-14T04:37:30.679Z","dependency_job_id":"c7082d84-082d-41ba-b6c3-a2ad5e41bd8a","html_url":"https://github.com/puppetlabs/puppetlabs-windows_eventlog","commit_stats":{"total_commits":115,"total_committers":22,"mean_commits":"5.2272727272727275","dds":0.4869565217391304,"last_synced_commit":"4bb839949721cb91a5bc18cffe8600292f80007e"},"previous_names":["liamjbennett/puppet-windows_eventlog","puppetlabs/puppetlabs-windows_eventlog","voxpupuli/puppet-windows_eventlog"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppetlabs%2Fpuppetlabs-windows_eventlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppetlabs%2Fpuppetlabs-windows_eventlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppetlabs%2Fpuppetlabs-windows_eventlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppetlabs%2Fpuppetlabs-windows_eventlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/puppetlabs","download_url":"https://codeload.github.com/puppetlabs/puppetlabs-windows_eventlog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237172466,"owners_count":19266683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","module","puppet","supported","windows-puppet-module"],"created_at":"2024-09-24T19:58:04.808Z","updated_at":"2025-10-19T17:30:43.566Z","avatar_url":"https://github.com/puppetlabs.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# windows_eventlog\n\n[![Donated by Vox Pupuli](https://img.shields.io/badge/donated%20by-Vox%20Pupuli-fb7047.svg)](#transfer-notice)\n\n#### Table of Contents\n\n1. [Overview](#overview)\n1. [Module Description - What is the windows_eventlog module?](#module-description)\n1. [Setup - The basics of getting started with windows_eventlog](#setup)\n    * [What windows_eventloge affects](#what-windows_eventlog-affects)\n    * [Beginning with windows_eventlog](#beginning-with-windows_eventlog)\n1. [Usage - Configuration options and additional functionality](#usage)\n1. [Reference - An under-the-hood peek at what the module is doing and how](#reference)\n1. [Limitations - OS compatibility, etc.](#limitations)\n1. [License](#license)\n1. [Development - Guide for contributing to the module](#development)\n\n## Overview\n\nPuppet module for managing windows event logs\n\n## Module Description\n\nThe purpose of this module is to manage each of the Windows event logs,\nincluding the size, rotation and retention\n\n## Setup\n\n### What windows_eventlog affects\n\n* Sets registry keys to manage the event log configuration\n\n### Beginning with windows_eventlog\n\n  Manage the size of the Application log:\n\n```puppet\n    windows_eventlog { 'Application':\n      log_path =\u003e '%SystemRoot%\\system32\\winevt\\Logs\\Application.evtx',\n      log_size =\u003e 2048,\n      max_log_policy =\u003e 'overwrite',\n    }\n```\n\n  Manage several custom logs under C:\\Logs:\n\n```puppet\n   windows_eventlog { ['Custom1', 'Custom2', 'Custom3']:\n     log_path_template =\u003e 'C:\\Logs\\%%NAME%%.evtx',\n   }\n```\n\n## Usage\n\n### Classes and Defined Types\n\n#### Defined Type: `windows_eventlog`\n\nThe primary definition of this module. Manages the size and rotation policy of\nWindows event logs\n\n**Parameters within `windows_eventlog`:**\n##### `log_path`\n\n_(Optional)_ The path to the log file that you want to manage.\n\n##### `log_size`\n\nThe max size of the log file in bytes.  Defaults to `1028`.\n\n##### `max_log_policy`\n\nThe retention policy for the log.  Defaults to '`overwrite`'.\n\n##### `log_path_template`\n\n_(Optional)_ A template for `log_path`, where \"`%%NAME%%`\" will be replaced with\nthe log name.  Defaults to '`%SystemRoot%\\\\system32\\\\winevt\\\\Logs\\\\%%NAME%%.evtx`'.\n\n## Reference\n\n### Defined Types\n\n### Public Defined Types\n\n* [`windows_eventlog`](#define-eventlog): Manages the size and rotation policy\n  of a Windows event log\n\n## Limitations\n\nThis module is tested on the following platforms:\n\n* Windows 2008 R2\n\nIt is tested with the OSS version of Puppet only.\n\n## License\n\nThis codebase is licensed under the Apache2.0 licensing, however due to the nature of the codebase the open source dependencies may also use a combination of [AGPL](https://opensource.org/license/agpl-v3/), [BSD-2](https://opensource.org/license/bsd-2-clause/), [BSD-3](https://opensource.org/license/bsd-3-clause/), [GPL2.0](https://opensource.org/license/gpl-2-0/), [LGPL](https://opensource.org/license/lgpl-3-0/), [MIT](https://opensource.org/license/mit/) and [MPL](https://opensource.org/license/mpl-2-0/) Licensing.\n\n## Development\n\n### Contributing\n\nPlease read CONTRIBUTING.md for full details on contributing to this project.\n\n## Transfer notice\n\nThis module was previously maintained by Vox Pupuli. It was migrated to Puppet/Perforce in 2023.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuppetlabs%2Fpuppetlabs-windows_eventlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpuppetlabs%2Fpuppetlabs-windows_eventlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuppetlabs%2Fpuppetlabs-windows_eventlog/lists"}