简体   繁体   English

Kinesis Firehose 不向 S3 存储桶发送数据

[英]Kinesis Firehose Not Sending Data to S3 Bucket

I have set up a Kinesis stream with a Firehose that is supposed to take data that is put into the stream, and store it in an S3 bucket.我已经使用 Firehose 设置了 Kinesis 流,该流应该接收放入流中的数据,并将其存储在 S3 存储桶中。

Currently I can see my stream is getting data and my firehose is reading it, but then not sending anything to S3.目前我可以看到我的流正在获取数据并且我的消防水管正在读取它,但随后没有向 S3 发送任何内容。

Kinesis firehose reading data: Kinesis消防水管读取数据:

Kinesis消防水管读取数据

I can then see here that it is not delivering it to S3:然后我可以在这里看到它没有将它传送到 S3:

Firehose 不发送到 S3

The IAM role for the firehouse has access to read from Kinesis and read/write to S3.消防站的 IAM 角色有权从 Kinesis 读取和读取/写入 S3。

(权限截图)

I set up logs but am not receiving any errors from the hose it seems.我设置了日志,但似乎没有收到来自软管的任何错误。

Below is the serverless file i used to deploy everything.下面是我用来部署所有内容的无服务器文件。

Here is a link to serverless file for the firehose:这是 firehose 的无服务器文件的链接:

这是 firehose 的无服务器文件的链接

Here is a link to the other resources + policies for the role:以下是该角色的其他资源 + 政策的链接:

这是该角色的其他资源 + 政策的链接

You may not be grating the right permissions.您可能没有设置正确的权限。 Refer to this doc Grant Kinesis Data Firehose Access to an Amazon S3 Destination to know the correct S3 and Kinesis Actions needed in the policy.请参阅此文档授予对 Amazon S3 目标的 Kinesis Data Firehose 访问权限,以了解策略中所需的正确 S3 和 Kinesis Actions

Or simply, go to your Kinesis Data Firehose page, open the IAM role link under Permissions, and attach the following policies to the role: AmazonS3FullAccess , AmazonKinesisFullAccess and AmazonKinesisAnalyticsFullAccess或者简单地转到您的 Kinesis Data Firehose 页面,打开 Permissions 下的 IAM 角色链接,并将以下策略附加到角色: AmazonS3FullAccessAmazonKinesisFullAccessAmazonKinesisAnalyticsFullAccess

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM