graylog2-server icon indicating copy to clipboard operation
graylog2-server copied to clipboard

Windows Sidecar does not restart when config updated

Open ryan-carroll-graylog opened this issue 1 month ago • 0 comments

Created for support issue: https://github.com/Graylog2/support/issues/60

Expected Behavior

Sidecar collector should restart automatically when assigning a new config via the Graylog UI

Current Behavior

Sidecar collector not restarting automatically as it should when assigning new configuration in Graylog UI

Steps to Reproduce (for bugs)

  1. start sidecar and the collector process
  2. change the winlogbeat config in Graylog UI -> the collector process will fail to restart

Context

If sidecar is running and the collector process is running, changing the collector configuration from Graylog UI will not cause the collector process to be restarted as expected. The configuration change only happens if a new configuration is assigned when the collector process is stopped beforehand. We reproduced this error using sidecar v1.4, v1.5 and v1.5 with the latest winlogbeat version installed with the executable path changed.

Attached are sidecar and winlogbeat logs along with the meeting recording where we reproduced the issue (meeting is uploaded in Slack since ZD has size limitation). Link to the #dev-support thread: https://graylog.slack.com/archives/C036LC4K744/p1718794457748489

Issue is for Sidecar on Windows 10, Windows Server 2019 and 2022

sidecar.zip

Customer Environment

Graylog Version: 6.0.2

(created from Zendesk ticket #609)
gz#609

ryan-carroll-graylog avatar Jun 21 '24 12:06 ryan-carroll-graylog