Im looking for ways to reload nxlog config globally using the <schedule> option without having to restart the service or use the 'Update and Reload' button in nxlog manager.

Is there a certain paramerter that can be used in the conf file that will do this on a specific cadence?

AskedJuly 13, 2022 - 6:40pm

Answer (1)

Hello Sir,

Yes you can use module_restart , so instead of restarting the agent service you can stop, start or restart the module itself.

      #Schedule for starting the in module
      When 30 * * * *
      Exec in->module_restart();
      Exec log_info("================ Module is active ================");

Hope it helps Sincerely Klevin