Greetings & Apologies to dig out old thread!
I have configured Cloudflare logpush to AWS S3 bucket & configured at S3 bucket at Wazuh Manager. Somehow this is not working and failing with following debug error -
DEBUG: ++ Skipping file with another prefix: example.com/logs/20240114/20240114T234715Z_20240114T234816Z_b7494a5f.log.gz DEBUG: ++ Skipping file with another prefix: example.com/logs/20240114/20240114T234817Z_20240114T234917Z_568df56a.log.gz DEBUG: ++ Skipping file with another prefix: example.com/logs/20240114/20240114T234918Z_20240114T235018Z_2acf5dbd.log.gz DEBUG: ++ Skipping file with another prefix: example.com/logs/20240114/20240114T235019Z_20240114T235118Z_aff832de.log.gzMy ossec.conf block looks like this -
<!-- AWS log intigration --> <wodle name="aws-s3"> <disabled>no</disabled> <interval>10m</interval> <run_on_start>yes</run_on_start> <skip_on_error>yes</skip_on_error> -- [TRUNCATED] -- [MULTIPLE BUCKETS] <!-- CloudFlare S3 Bucket --> <!-- bucket type="server_access" --> <bucket type="custom"> <only_logs_after>2023-FEB-01</only_logs_after> <name>logs-cloudflare-logpush-s3-bucket</name> <path>example.com/logs</path> <aws_profile>cloudflare-s3</aws_profile> </bucket> </wodle>Thanks,KS