Change main gl-server config file

Hi @all,

is it possible to change & reload the main graylog server config during runtime via plug-in code?
Maybe somebody has a hint for me…

that is not possible. The JVM need to be restarted if the configuration shall be read again.

thanks for your fast response @jan
Can i modify the values for vars in the config?
do you think it works if i execute systemctl restart via shell command execution in java?

Can i modify the values for vars in the config?

you mean via a Plugin in Graylog? Not sure if that is possible. If you have the skill - try it.

do you think it works if i execute systemctl restart via shell command execution in java?

If the Graylog user gets the ability on OS level - means using sudo or similar to restart Graylog. That should work.

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