Hi,
From the log you shared, it looks like the events are being collected correctly from CloudWatch and written into archives.log, which means the AWS integration itself is working.
If the logs are not visible in the Wazuh UI, this is usually related to decoding/parsing rather than ingestion.
A couple of things to check:
To move forward, could you please confirm:
As a next step, a custom decoder/rule may be required to properly parse these PostgreSQL logs and make them visible in the UI.
Let me know those details and we can guide you further.
Related docs:
- https://documentation.wazuh.com/current/user-manual/ruleset/ruleset-xml-syntax/decoders.html
- https://documentation.wazuh.com/current/user-manual/ruleset/ruleset-xml-syntax/rules.html
Hi,
Thanks for the details, this helps a lot.
From the logtest output, decoding and rule matching are working correctly (Phase 3 shows an alert should be generated). However, since nothing appears in alerts.json, this usually indicates the events are not reaching the analysis/alerting pipeline properly or are being filtered out.
A few things to verify:
- Confirm that the integration is not configured in a way that only stores evnts (e.g., logall) without generating alerts.
- Check /var/ossec/logs/ossec.log for any warnings/errors related to analysisd, aws-s3, or queue saturation.
- Verify if events could be dropped due to rate limiting or queue overflow.
- Check if there is any filtering (e.g., in the AWS integration configuration, decoders, rules, or Filebeat) that could be preventing the events from generating alerts.
Also, an important point:
Even if decoding works in logtest, in real ingestion the event must pass through the full pipeline (wash → Filebeat → indexer). If something interrupts that flow, alerts won’t be generated or indexed in the UI.
cat /var/log/filebeat/* | grep -i -E "error|warn"
also please check check the cluster health. From the Wazuh dashboard, go to Indexer Management > Dev Tools and run:
GET _cluster/health
Indices:
GET _cat/indices?v
As a next step, could you please:
This will allow me to replicate the full test (decoder + rule) and better identify where the issue might be happening.