Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x
- Puppet >= 5.5.8 < 7.0.0
Start using this module
Add this module to your Puppetfile:
mod 'puppet-winlogbeat', '1.0.1'
Learn more about managing modules with a PuppetfileDocumentation
puppet-winlogbeat
Table of Contents
- Description
- Setup - The basics of getting started with winlogbeat
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Description
The winlogbeat
module installs and configures the winlogbeat log shipper maintained by elastic.
Setup
What winlogbeat affects
By default winlogbeat
downloads the software to your system, and installs winlogbeat along
with required configurations.
Setup Requirements
The winlogbeat
module depends on:
Beginning with winlogbeat
winlogbeat
can be installed with puppet module install puppet-winlogbeat
(or with r10k, librarian-puppet, etc.)
The only required parameter, other than which event logs to ship, is the outputs
parameter.
Usage
All of the default values in winlogbeat follow the upstream defaults (at the time of writing).
To ship files to elasticsearch:
class { 'winlogbeat':
outputs => {
'elasticsearch' => {
'hosts' => [
'http://localhost:9200',
'http://anotherserver:9200'
],
'index' => 'winlogbeat',
'cas' => [
'/etc/pki/root/ca.pem',
],
},
},
}
To ship log files through logstash:
class { 'winlogbeat':
outputs => {
'logstash' => {
'hosts' => [
'localhost:5044',
'anotherserver:5044'
],
'index' => 'winlogbeat',
'loadbalance' => true,
},
},
}
Shipper and logging options can be configured the same way, and are documented on the elastic website.
Limitations
This module doesn't load the elasticsearch index template into elasticsearch (required when shipping directly to elasticsearch).
Development
Pull requests and bug reports are welcome. If you're sending a pull request, please consider writing tests if applicable.
Release Notes/Contributors/Etc.
Used the pcfens/filebeat module as a starting point.
Changelog
All notable changes to this project will be documented in this file. Each new release typically also includes the latest modulesync defaults. These should not affect the functionality of the module.
v1.0.1 (2021-02-14)
Merged pull requests:
- Bump puppetlabs-powershell to < 5.0.0 #46 (cdenneen)
- modulesync 3.0.0 & puppet-lint updates #41 (bastelfreak)
v1.0.0 (2020-01-30)
Breaking changes:
- modulesync 2.7.0 and drop puppet 4 #28 (bastelfreak)
Implemented enhancements:
- v6 and v7 support #36 (mhenderson-so)
Merged pull requests:
- Allow
puppetlabs/stdlib
6.x andpuppet/archive
4.x #30 (alexjfisher)
v0.2.2 (2018-10-17)
Merged pull requests:
- modulesync 2.2.0 and allow puppet 6.x #22 (bastelfreak)
- allow puppetlabs/stdlib 5.x #19 (bastelfreak)
v0.2.1 (2018-08-18)
Merged pull requests:
- allow puppet/archive 3.x #16 (bastelfreak)
v0.2.0 (2018-07-16)
Closed issues:
- Use correct url for 32 bit windows #7
- Add support for updating to new versions #5
- updates for version 5 #4
Merged pull requests:
- drop EOL OSs; fix puppet version range #13 (bastelfreak)
- Fixes #7 - Use correct url for 32 bit windows #9 (edestecd)
- Add all version 5 options and support updating #6 (edestecd)
0.1.2 (2016-10-26)
0.1.1 (2016-08-25)
0.1.0 (2016-08-18)
* This Changelog was automatically generated by github_changelog_generator
Dependencies
- puppetlabs-powershell (>= 1.0.1 < 5.0.0)
- puppetlabs-stdlib (>= 4.6.0 < 7.0.0)
- puppet-archive (>= 0.5.0 < 5.0.0)