Skip to content

anuriq/chef-winlogbeat

Repository files navigation

winlogbeat

Description

Elastic Winlogbeat is used to forward Windows event logs to ELK ecosystem supported receivers. Those outputs are:

  • Elasticsearch
  • Logstash
  • Kafka
  • Redis
  • File

Whole configuration file may be overrided by using your attributes in a wrapper cookbook. See documentation for available configuration options.

Requirements

This cookbook may work with Winlogbeat 6.x.x, but I didn't test it out. PRs are welcome.

Platforms

Tested only on Windows Server 2012 R2. But should work on any modern Windows.

Attributes

Attribute Description Type Default
['winlogbeat']['version'] Version of Elastic Winlogbeat. String 5.6.8
['winlogbeat']['package_url'] Url to download Elastic Winlogbeat from. String auto
['winlogbeat']['notify_restart'] Automatically restart Winlogbeat if config changes during converge. Boolean true
['winlogbeat']['install_only'] If true do not create service and generate config file. Boolean false
['winlogbeat']['install_dir'] Installation directory for Elastic Winlogbeat. String C:\Program Files\Winlogbeat
['winlogbeat']['override_config'] Configuration values to override in default config. Hash {}

Recipes

  • default.rb - Install and configure Elastic Winlogbeat.
  • install.rb - Download Winlogbeat.
  • configure.rb - Create a service and generate config file.

Kitchen

# Full testing: check style, converge and verify instance
chef exec rake

Examples

For examples see test/fixtures/cookbooks/test cookbook.

Authors

About

Install/Configure Elastic Winlogbeat through Chef

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages