--
You received this message because you are subscribed to the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/28eec607-bf98-4c91-a474-89f926bc9f7dn%40googlegroups.com.
It seems that this issue might be related to journald log rotation. I kindly request you to create a new GitHub issue describing your problem. Please include details such as the Wazuh version, your operating system and its version, and the relevant logs. Like this https://github.com/wazuh/wazuh/issues/26778
If you cannot find these log files on your system, it may indicate that your operating system is not saving these files locally. In that case, you can use services such as rsyslog or syslog-ng to monitor and write logs locally. Once the logs are saved locally, you can use the <localfile> option to monitor and forward the system logs to Wazuh.
I hope this helps! Let me know if you have any further questions.
Regards,
You received this message because you are subscribed to a topic in the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wazuh/xjuzLPvE-Qg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wazuh+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/c7f129a8-a3e1-4d89-ad6e-449e32b0cde3n%40googlegroups.com.
To configure all agents, you can use the Wazuh centralized agent configuration. Start by grouping the agents with the same operating system or version into a single group. Then, add the localfile configuration block to the agent.conf file in the shared configuration for that group.
Here are screenshots for reference:


Regarding restarting agents after journald log rotation, you can create a custom script to restart the Wazuh agent. You can then configure this script to run as a cron job, triggering it after the log rotation is completed.
I hope this helps! Let me know if you have any further questions related to Wazuh.