collector-sidecar icon indicating copy to clipboard operation
collector-sidecar copied to clipboard

[feature request] Load current configuration parameters server_url, node_id, tags during installation on Windows

Open krzotr opened this issue 7 years ago • 2 comments

I have upgraded collector-sidecar from 0.1.6 to 0.1.7 version on my Windows workstation. During an upgrade, I configured server_url, node_id and tags parameter (I opened collector_sidecar.yml configuration file from 0.1.6 and used copy/paste to fill fields because I don't remember current params).

If it is possible, please add a feature which fills parameters server_url, node_id, and tags automatically during installation. In case if collector-sidecar is already installed and configuration file "C:\Program Files\Graylog\collector-sidecar\collector_sidecar.yml" is present.

I upgraded sidecar to 0.1.7, I do not want to change the configuration of server url, node id, and tags, so all configuration fields should be the same during installation.

krzotr avatar Nov 05 '18 14:11 krzotr

Hi, could you please test the silent install option? $ graylog_sidecar_installer.exe /S that should install the new binaries but don't overwrite existing configurations.

mariussturm avatar Nov 06 '18 09:11 mariussturm

I have tested silent install collector_sidecar_installer_0.1.7-1.exe /S, works as you said - without overwriting current configurations.

I think will be nice to run sidecar installer (without silent install option) to do a similar job - do not ask for Graylog API URL, instance name and tags - just use current configuration.

krzotr avatar Nov 06 '18 16:11 krzotr