voxpupuli/puppet-winlogbeat

Name: puppet-winlogbeat

Owner: Vox Pupuli

Description: null

Created: 2016-08-02 04:36:00.0

Updated: 2017-11-07 04:17:15.0

Pushed: 2017-07-30 20:27:17.0

Homepage: null

Size: 30

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

puppet-winlogbeat

Table of Contents
  1. Description
  2. Setup - The basics of getting started with winlogbeat
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. 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 skynetsolutions-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:

s { 'winlogbeat':
tputs => {
'elasticsearch' => {
 'hosts' => [
   'http://localhost:9200',
   'http://anotherserver:9200'
 ],
 'index'       => 'winlogbeat',
 'cas'         => [
    '/etc/pki/root/ca.pem',
 ],
},


To ship log files through logstash:

s { 'winlogbeat':
tputs => {
'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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.