Vector using S3 Source: Failed to parse SQS queue #22430
-
Hi, I'm deploying a vector on an ec2 instance. I have a standard SQS Queue setup to receive S3 bucket notifications. I confirmed the queue can receive messages whenever an item is created in S3. When running vector using an s3 source, I'm receiving the following error message:
This is what an incoming message looks like:
This is my vector configuration:
I'm not too familiar with SQS but is the issue with my message or is there another underlying issue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hi @generate-me12, Vector expects the standard S3 Event Notification format. So it should be something like: {
"Records": [
{
"eventVersion": "2.1",
"eventSource": "aws:s3",
"awsRegion": "us-west-2",
"eventTime": "2025-02-12T02:12:06.936Z",
"eventName": "ObjectCreated:Put",
"s3": {
"s3SchemaVersion": "1.0",
"configurationId": "xyz",
"bucket": {
"name": "my-s3-bucket"
},
"object": {
"key": "offloads/data/2025/02/12/abcoffload.tgz",
"size": 268293
}
}
}
]
} Are these events perhaps coming for another Amazon source e.g. EventBridge? If this is the case, the try to reconfigure your S3 event notifications to send direct S3 event notifications to SQS instead. |
Beta Was this translation helpful? Give feedback.
Hi @generate-me12, Vector expects the standard S3 Event Notification format.
So it should be something like:
Are these events perhaps coming for another Amazon source e.g. EventBridge? If this is the case, the try …