1
response

Hi,
I have many nxlog in my infrastructure that we just implement. I have a simple question. My nxlog config file do not show error when i do Nxlog.exe -f in command prompt. But the services is stopped. I would like to know if no data is forwarded at the moment, the service stay shutdown and open when he will need to send data ?
Greetings,

AskedSeptember 18, 2019 - 10:28pm

Answer (1)

Hello,

I think it is important to keep in mind that running as a service and running in foreground temporarily with nxlog -f are two separate processes.

I would like to know if no data is forwarded at the moment, the service stay shutdown and open when he will need to send data ?

To answer your question here, if the service is down, we will not be waiting for events to come in. The service needs to be running for us to pass events.
I would check the service status to see if it is actually running. systemctl status nxlog or service nxlog status
If it is not running, try to start the service. systemctl start nxlog or service nxlog start

Check nxlog.log file or journalctl for errors.
If the service does not launch, you would need to verify the config and log file.