I’ve been working on getting logs sent into Graylog2 from my mostly Windows environment. Are there are any other switches which can be passed to the “Graylog-collector-sidecar.exe” during installation?
Presently I have the installer configured like this:
Graylog-collector-sidecar.exe /S -SERVERURL=http://fqdn:9000/api -TAGS="tags,go,here"
Everything comes in wonderfully, but the systems are all named the generic “graylog-collector-sidecar” name in the collectors list. I would love to know if there’s a way to pass either an answers file, or if there are additional switches for the installer that I can pass to the systems.
Either way I’m loving the product!
Thanks - Chris
+1 for this.
I can’t find any specific info on this but it would be nice to have a switch to specify the name.
I am not sure if all of these parameters are able to be passed during install but it is worth a shot…
http://docs.graylog.org/en/2.4/pages/collector_sidecar.html#configuration
I should have updated this. I went ahead and tried all forms of the “node_id” that I could come up with, formatted like the rest of the options to no avail.
We have an open issue for this, feel free to subscribe there: https://github.com/Graylog2/collector-sidecar/issues/176
You can see the currently available options in the source file of the installer: https://github.com/Graylog2/collector-sidecar/blob/master/dist/recipe.nsi#L168-L169
@marius Thanks very much for this. I’m keeping tabs on that git page.
Appreciate it!
Saw that was updated earlier today. Exactly what we need. Booyah.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.