I have configured my VPC flow logs to a cloudwatch log group, and configured wazuh as follows:
<wodle name="aws-s3">
<disabled>no</disabled>
<interval>5m</interval>
<run_on_start>yes</run_on_start>
<service type="cloudwatchlogs">
<aws_profile>default</aws_profile>
<aws_log_groups>vpcFlowLogs</aws_log_groups>
<regions>us-west-2</regions>
</service>
</wodle>
In a previous post, Jesus Linares helped me fix a problem with how I had the aws credentials and now see the following in the logs:
Jun 22, 2021 @ 09:34:08.000 wazuh-modulesd:aws-s3 INFO Fetching logs finished.
Jun 22, 2021 @ 09:34:01.000 wazuh-modulesd:aws-s3 INFO Starting fetching of logs.
Jun 22, 2021 @ 09:34:01.000 wazuh-modulesd:aws-s3 INFO Executing Service Analysis: (Service: cloudwatchlogs, Profile: default)