Hi,
Thank you for looking into this. After removing aws_account_alias and aws_account_id, I can see some logs have started appearing in archives.json:
{"timestamp":"2021-07-08T14:46:58.963+0000","agent":{"id":"000","name":"wazuh-manager-master-0"},"manager":{"name":"wazuh-manager-master-0"},"id":"1625755618.3563","cluster":{"name":"wazuh","node":"wazuh-manager-master"},"full_log":"{\"type\":\"process\",\"ID\":457708728,\"timestamp\":\"2021/07/08 14:46:58\",\"process\":{\"pid\":875,\"name\":\"aws-s3\",\"state\":\"S\",\"ppid\":861,\"utime\":0,\"stime\":0,\"cmd\":\"/bin/sh\",\"argvs\":[\"/var/ossec/wodles/aws/aws-s3\",\"--bucket\",\"wazuh-jmuoaint\",\"--access_key\",\"xxxxxxx\",\"--secret_key\",\"xxxxxx\",\"--trail_prefix\",\"firehose2021\",\"--only_logs_after\",\"2020-JUN-01\",\"--regions\",\"eu-central-1\",\"--type\",\"waf\"],\"euser\":\"root\",\"ruser\":\"root\",\"suser\":\"root\",\"egroup\":\"ossec\",\"rgroup\":\"ossec\",\"sgroup\":\"ossec\",\"fgroup\":\"ossec\",\"priority\":30,\"nice\":10,\"size\":2925,\"vm_size\":11700,\"resident\":638,\"share\":581,\"start_time\":798544462,\"pgrp\":875,\"session\":875,\"nlwp\":1,\"tgid\":875,\"tty\":0,\"processor\":1}}","decoder":{"name":"syscollector"},"data":{"type":"process","process":{"pid":"875","name":"aws-s3","state":"S","ppid":"861","utime":"0","stime":"0","cmd":"/bin/sh","args":["/var/ossec/wodles/aws/aws-s3","--bucket","wazuh-jmuoaint","--access_key","xxxxxxx","--secret_key","xxxxxx","--trail_prefix","firehose2021","--only_logs_after","2020-JUN-01","--regions","eu-central-1","--type","waf"],"euser":"root","ruser":"root","suser":"root","egroup":"ossec","rgroup":"ossec","sgroup":"ossec","fgroup":"ossec","priority":"30","nice":"10","size":"2925","vm_size":"11700","resident":"638","share":"581","start_time":"798544462","pgrp":"875","session":"875","nlwp":"1","tgid":"875","tty":"0","processor":"1"}},"location":"syscollector"}
But these still do not seem correct logs. I've attached ossec.log file. I am glad some of the logs started showing up, but still, something is terribly wrong in the config. I have removed the CloudWatch service for now, because CloudWatch logs were also not appearing.