Hi, I recently integrated AWS Cloud trail with Wazuh. I followed all the instructions on the documentation, but no logs came in. When I checked the logs, the following error kept repeating. Please what can I do to fix this?
2024/04/12 15:31:27 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2024/04/12 15:31:29 wazuh-modulesd:aws-s3: WARNING: Bucket: - Returned exit code 1
2024/04/12 15:31:29 wazuh-modulesd:aws-s3: WARNING: Bucket: - Unknown error.
2024/04/12 15:31:29 wazuh-modulesd:aws-s3: INFO: Fetching logs finished.
2024/04/12 15:31:29 wazuh-syscheckd: INFO: (6009): File integrity monitoring scan ended. 2024/04/12 15:31:29 wazuh-syscheckd:
INFO: FIM sync module started.
After trying to debug, I got the following logs
2024/04/12 15:54:13 wazuh-modulesd:aws-s3[8439] wm_aws.c:201 at wm_aws_main(): INFO: Fetching logs finished. 2024/04/12 15:54:40 wazuh-modulesd:agent-upgrade[8439] wm_agent_upgrade_tasks.c:211 at wm_agent_send_task_information_master(): DEBUG: (8157): Sending message to task_manager module: '{"origin":{"name":"node01","module":"upgrade_module"},"command":"upgrade_cancel_tasks","parameters":{}}'
2024/04/12 15:54:40 wazuh-modulesd:task-manager[8439] wm_task_manager.c:59 at wm_task_manager_dispatch(): DEBUG: (8204): Incomming message: '{"origin":{"name":"node01","module":"upgrade_module"},"command":"upgrade_cancel_tasks","parameters":{}}'
2024/04/12 15:54:40 wazuh-modulesd:task-manager[8439] wm_task_manager.c:101 at wm_task_manager_dispatch(): DEBUG: (8205): Response to message: '{"error":0,"data":[{"error":0,"message":"Success"}],"message":"Success"}'
2024/04/12 15:54:40 wazuh-modulesd:agent-upgrade[8439] wm_agent_upgrade_tasks.c:229 at wm_agent_send_task_information_master(): DEBUG: (8158): Receiving message from task_manager module: '{"error":0,"data":[{"error":0,"message":"Success"}],"message":"Success"}'
2024/04/12 15:55:10 wazuh-modulesd:aws-s3[8439] wm_aws.c:84 at wm_aws_main(): INFO: Starting fetching of logs.
2024/04/12 15:55:10 wazuh-modulesd:aws-s3[8439] wm_aws.c:136 at wm_aws_main(): INFO: Executing Bucket Analysis: (Bucket: aws-cloudtrail-logs-xxxxx-xxxx-xx, Type: cloudtrail, Profile: default)
2024/04/12 15:55:10 wazuh-modulesd:aws-s3[8439] wm_aws.c:494 at wm_aws_run_s3(): DEBUG: Launching S3 Command: wodles/aws/aws-s3 --bucket aws-cloudtrail-logs-xxx-xxxx-xxxx --aws_profile default --type cloudtrail --debug 1 --skip_on_error
2024/04/12 15:55:12 wazuh-modulesd:aws-s3[8439] wm_aws.c:508 at wm_aws_run_s3(): WARNING: Bucket: - Returned exit code 1
2024/04/12 15:55:12 wazuh-modulesd:aws-s3[8439] wm_aws.c:512 at wm_aws_run_s3(): WARNING: Bucket: - Unknown error.
2024/04/12 15:55:12 wazuh-modulesd:aws-s3[8439] wm_aws.c:532 at wm_aws_run_s3(): DEBUG: Bucket: - OUTPUT: DEBUG: +++ Debug mode on - Level: 1 ERROR: Unknown