Hi asd zxc,
Hope you are doing well. Thank you for using Wazuh.
I believe by saying you are getting only block logs you are referring to not getting alerts for allowed logs in Wazuh dashboard . If so, can you share if you are using any custom decoder or rules.
Next
Activate the 'logall' option within the manager's ossec.conf file, as outlined in our Documentation:Wazuh Documentation | logall
This option will allow you to see all the events being monitored by your manager in the /var/ossec/logs/archives/archives.log file. You will then be able to observe the incoming log generated by your endpoint. After setting this option, restart the manager and check the archives.log file.
Note: Don't forget to disable the logall parameter once you have finished troubleshooting. Leaving it enabled could lead to high disk space consumption.
Look for if there are any logs inside the archive log which are relevant to the allowed log . Use grep parameters related to the log.
cat /var/ossec/logs/archives/archives.log | grep Keywoard
Looking forward to your response.
Regards
Md. Nazmur Sakib
Hi asd zxc,
Can you enable archive log following this and send check if allowed logs there.
Activate the 'logall' option within the manager's ossec.conf file, as outlined in our Documentation:Wazuh Documentation | logall
This option will allow you to see all the events being monitored by your manager in the /var/ossec/logs/archives/archives.log file. You will then be able to observe the incoming log generated by your endpoint. After setting this option, restart the manager and check the archives.log file.
Note: Don't forget to disable the logall parameter once you have finished troubleshooting. Leaving it enabled could lead to high disk space consumption.
Look for if there are any logs inside the archive log which are relevant to the allowed log . Use grep parameters related to the log.
cat /var/ossec/logs/archives/archives.log | grep Keywoard
If you find allowed logs there. Send me a sample allowed log and blocked log.
Also share an alert from your Wazuh dashboard that you are having from a blocked log.
Share those information so that I can test them in my lab.
Regards
Md. Nazmur Sakib