Graylog2 / collector-sidecar

Manage log collectors through Graylog
https://www.graylog.org/
Other
268 stars 56 forks source link

Windows install, service name? install log? #358

Closed snori74 closed 5 years ago

snori74 commented 5 years ago

Issue description

(1) Install of "sidecar" on Windows provides no feedback on the commandline, whether '/S' is used or not.

(2) There is no '/V' or '/v' (verbose), and the command produces no logs - or none documented.

(2 ) There is also no documentation of what the Windows service name is; so running 'net start' to list services doesn't help - because we don't know what we're looking for.

Steps to reproduce the problem

C:\temp> graylog_sidecar_installer_1.0.0-1.exe /S -SERVERURL=http://192.168.106:9000/api -APITOKEN=abc798798798797

snori74 commented 5 years ago

OK, I see now that the documentation is unclear. After installing graylog-sidecar via commandline or the GUI, you need to run: "C:\Program Files\graylog\sidecar\graylog-sidecar.exe" -service install

This needs to be made much clearer, by something like:

Optionally edit the configuration (see Configuration):

notepad.exe C:\Program Files\Graylog\sidecar\sidecar.yml

Once installed and configured, the service still needs to be registered and started, like this:

"C:\Program Files\graylog\sidecar\graylog-sidecar.exe" -service install "C:\Program Files\graylog\sidecar\graylog-sidecar.exe" -service start