Hello John,
Thanks for using wazuh!
First of all, we need to verify that the log in the file
/health.json looks the same way as in
wazuh-logtest (first screenshot). In case the log is generating correctly we will need to check if the log is ingested by the manager, for this we will need to activate
<logall_json> (changing no with yes) in the
ossec.conf in the manager (you must restart the
wazuh-manager service to apply the changes) to see in archives every log reaching the manager and also what it is doing with each log. Once you have activated
logall_json you can see new logs arriving at the manager with the tail command:
tail -f /var/ossec/logs/archives/archives.json Also, you can grep there for specific data.
After making these tests you may turn off
<logall_json>, since this file may consume a considerable quantity of disk space.
Let us know how the results of these tests went.
Regards,
Luis Avendaño.