Giter VIP home page Giter VIP logo

chef-winlogbeat's Issues

Updating to new version fails

Changing the config from:
default['winlogbeat']['version'] = '1.2.2'
default['winlogbeat']['package_url'] = 'auto'

to:
default['winlogbeat']['version'] = '5.4.2'
default['winlogbeat']['package_url'] = 'https://artifacts.elastic.co/downloads/beats/winlogbeat/winlogbeat-5.4.2-windows-x86_64.zip'

fails when the service tries to start.

Ive changed a couple sections of code to enable logging to logstash, it works with older version:
default['winlogbeat']['config']['winlogbeat']['registry_file'] = 'C:/ProgramData/winlogbeat/.winlogbeat.yml'
default['winlogbeat']['config']['winlogbeat']['event_logs'] = [
{ 'name' => 'Security', 'ignore_older' => '24h' },
{ 'name' => 'System', 'ignore_older' => '24h' }
]

Logstash Output config info

default['winlogbeat']['config']['output']['logstash']['enabled'] = true
default['winlogbeat']['config']['output']['logstash']['hosts'] = ['cbs-elk.hl.aws:5044']
default['winlogbeat']['config']['output']['logstash']['loadbalance'] = true
default['winlogbeat']['config']['output']['logstash']['save_topology'] = false
default['winlogbeat']['config']['output']['logstash']['index'] = 'winlogbeat'

The error is:
Error executing action start on resource 'windows_service[winlogbeat]'
SystemCallError

The parameter is incorrect. - StartService: The parameter is incorrect.

Im wondering if maybe the the new version doesnt like the config. I will continue to update this if I find out more info.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.