Dear Dhiraj,
Thank you for choosing Wazuh.
You can easily ingest your apache/nginx log into Wazuh. To achieve this, follow the below steps:
1- Add the below configuration on the Wazuh agent by editing the
/var/ossec/etc/ossec.conf file
<localfile><location>/path/to/apache/access.log</location>
<log_format>syslog</log_format>
</localfile>
2- Restart the Wazuh agent for your changes to take effect.
systemctl restart wazuh-agent
OR
service wazuh-agent restart
Wazuh has decoders for both apache, and nginx: