Skip to content

Seeing error with createEventsFromS3Info - status code received is 200 with OK #23226

@sraju-optimizely

Description

@sraju-optimizely

After I integrated Cloudflare’s audit logs with filebeat, I started seeing the following error:

ERROR   [s3]    s3/input.go:395 createEventsFromS3Info failed processing file from s3 bucket "XXXXXXXXXXX" with name "XXXXXXXXXXXXXXXXXXX_9149b6a6.json": S3 GetObjectRequest failed for 'XXXXXXXXXXXXXXXXXXX_9149b6a6.json_9149b6a6.json' from S3 bucket 'XXXXXXXXXXX': OK: OK
        status code: 200, request id: 6K1R7HBYAZCT5M4Y, host id: hrCJ7lGJpoDD6hg9vJ22Vcacy8JvZOr2fERy9lJ4JzUCs0ezR70DTzgWJnzfQWif/5SlsS0uNco=

Seems like the (from the error log) status code received is 200 with OK. I am wondering why that is populated in err

resp, err := req.Send(ctx)

Metadata

Metadata

Labels

Team:PlatformsLabel for the Integrations - Platforms team

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions