Collector Sidecar cannot install service Windows

Hello all,

I am in the process of setting up my first graylog installation. I have a lot of windows machines I need to monitor the logs for. I am trying to install the graylog sidecar service but every time I try and run the -service install command I get the following:

Any help is greatly appreciated,

Hi,

quoted commands are treated as string literals.
You need to use the call operator (https://social.technet.microsoft.com/wiki/contents/articles/7703.powershell-running-executables.aspx#The_Call_Operator_amp)

Try:
& "C:\Program Files\graylog\collector-sidecar\Graylog-collector-sidecar.exe" -service install

Thanks so much, that worked great.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.