Hi Alara,
The error you are seeing means Wazuh is able to access your S3 bucket, but it is not finding any files in the specific path you configured.
Right now Wazuh is checking:
s3://bucket-s3-gastec-siem/o-srvq2cpn6y/
We need to confirm whether there are actually CloudTrail logs in that exact location.
Please run this command from your server using the same AWS profile:
aws s3 ls s3://bucket-s3-gastec-siem/o-srvq2cpn6y/ --recursive --profile wazuh-aws
If this command returns no output, it means there are no files under that path, which explains the error. In that case, the <path> in your ossec.conf does not match the real location of your logs in the bucket.
If the command does return files, then the path is correct and we can look at other settings such as filters.
The key point is that Wazuh only reads from the exact prefix you configure, so the path must match the real S3 object structure exactly.
Now the path issue looks resolved because Wazuh is no longer showing:
“No files were found”.
It is successfully starting the bucket analysis and finishing without path errors.
The next thing to verify is whether Wazuh is actually finding CloudTrail log files inside that prefix and whether they match the only_logs_after filter.
Please run:
aws s3 ls s3://bucket-s3-gastec-siem/AWSLogs/o-srvq2cpn6y/ --recursive --profile wazuh-aws | tail
and confirm that the files are CloudTrail .json.gz log and the timestamps are newer than 2026-APR-27
Because you have:
<only_logs_after>2026-APR-27</only_logs_after>