amazon-web-services - AWS 权限错误...Kinesis Firehose

我在 kinesis firehose 的 CloudWatch 日志中收到此错误

{
    "deliveryStreamARN": "arn:aws:firehose:us-west-2:917877325894:deliverystream/test_dynamodb",
    "destination": "arn:aws:es:us-west-2:917877325894:domain/test-dynamodb2",
    "deliveryStreamVersionId": 1,
    "message": "Error received from Elasticsearch cluster. {\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"no permissions for [indices:data/write/bulk] and User [name=arn:aws:iam::917877325894:role/firehose_delivery_role2, backend_roles=[arn:aws:iam::917877325894:role/firehose_delivery_role2], requestedTenant=null]\"}],\"type\":\"security_exception\",\"reason\":\"no permissions for [indices:data/write/bulk] and User [name=arn:aws:iam::917877325894:role/firehose_delivery_role2, backend_roles=[arn:aws:iam::917877325894:role/firehose_delivery_role2], requestedTenant=null]\"},\"status\":403}",
    "errorCode": "ES.ServiceException"
}

我已经为附加到 Firehose 的角色添加了所有不同的策略,但仍然出现相同的错误。(顺便说一句,该角色是由 firehose 本身创建的,但我也尝试添加更多策略,但没有不同的结果)

我也有 elasticsearch 域的开放访问策略

有没有人遇到过同样的事情?

最佳答案

我遇到了同样的问题,这里有故障排除说明

https://aws.amazon.com/premiumsupport/knowledge-center/es-troubleshoot-cloudwatch-logs/

转到 Kibana 并添加您的 all_access 映射。瞧。

关于amazon-web-services - AWS 权限错误...Kinesis Firehose 未向 Elasticsearch 发送数据...,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62351965/

相关文章:

ruby-on-rails - 如何在 ruby​​ 中找到调用者类?

html - Nodejs如何从ejs文件生成pdf文件

flutter - 如何在 Flutter 的 initState 中获取当前的 App Local

javascript - 如何在对象中保留一些深层 Prop ?

node.js - Node http.大文件传输失败并显示 'ERR_STREAM_PREMATU

python - 条件概率 - Python

python - `join` 或 `format` 字符串哪个更好?

javascript - 匿名访问如何跟踪?智威汤逊/ cookies / session ?

graphene-python - 如何在 Graphite 烯 Python 中将复杂类型作为参数

python - 如何在 Excel 的 Power Query 中运行 Python 脚本