Hello to All!
I have an issue using the nxlog agent community edition.
My output part of the config file looks like this:
As failover mechanism I use the DNS record for graylog.domain.local.
When the primary graylog node is unreachable, the DNS record is updated to the secondary node.
For some log sources, the OS is picking up the change almost immediately (there is no cache enable) but the agent doesn't deliver logs to the secondary node until the nxlog service is restarted.
Couple of questions:
1. Does the nxlog service keep any DNS cache?
2. If yes, is there any way to bypass it?
3. Any advice on how to fix the issue?
Many thanks in advance