AWS开放搜索无法插入数据

发布于 2025-01-24 02:08:56 字数 247 浏览 4 评论 0原文

我已经授予了AWS所需的所有许可。当我尝试创建索引时,会发生此错误。 错误响应: Response Error:Security_exception:[Security_exception]原因:[indices:admin/create]和user [name = arn:aws:iam :: 99999999999999:user/media/siede-s3,backend_roles = [],请求= null = null] 无法识别此错误的原因。 如何解决此错误?

i have given all the required permission from the aws. this error occurs when i tried to create an index.
Error response:
ResponseError: security_exception: [security_exception] Reason: no permissions for [indices:admin/create] and User [name=arn:aws:iam::999999999999:user/media-s3, backend_roles=[], requestedTenant=null]
not able to identify cause of this error.
how to solve this error?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

爱格式化 2025-01-31 02:08:56

好的,所以我得到了解决方案,

  1. 您需要登录到Kibana(单击仪表板链接[AWS Console中的OpenSearch dashboards URL])。

2. Pats打开仪表板(Amazon OpenSearch> servicedomains>您的域名)

  1. 在“角色”部分中选择all_access。

  2. 您的最终路径应链接此。角色> all_access>地图用户

  3. 现在在用户中输入您的ARN用户。

  4. 在“ user [name =''之后的错误副本中),因此您复制此

'arn:aws:iam :: 999999999999:用户/媒体 - 3'在用户输入中,然后单击地图。

ok, so i got the solution,

  1. you need to login to kibana(click on the dashboard link [OpenSearch Dashboards URL in aws console]).

2.path to open dashboard(Amazon OpenSearch > ServiceDomains > your domain name)

  1. in the roles section select all_access.

  2. your end path should be link this.Security > Roles > all_access > Map user

  3. now in the users input past your arn user.

  4. in the error copy after 'User [name=', so you copy this

'arn:aws:iam::999999999999:user/media-s3' past it into the user input and click on map.

绝情姑娘 2025-01-31 02:08:56

OpenSearch仪表板的更新说明:

  1. 登录AWS,然后访问Amazon OpenSearch Service>域> [您的域]
  2. 单击现在OpenSearch仪表板内的“ OpenSearch dashboards URL”的链接
  3. ,转到菜单> OpenSearch插件>安全
  4. 单击“探索现有角色”
  5. 找到足够的角色。最简单的是all_access。单击。
  6. 单击“映射用户”选项卡。
  7. 单击用户字段中的“管理映射”
  8. ,添加IAM角色的完整ARN。 格式,例如arn:aws:iam :: ###########
  9. 这是格式化的

Updated Instructions for OpenSearch Dashboards:

  1. Log into AWS and go to Amazon OpenSearch Service > Domains > [Your domain]
  2. Click the link for "OpenSearch Dashboards URL"
  3. Now inside the OpenSearch Dashboard, go to Menu > OpenSearch Plugins > Security
  4. Click "Explore existing roles"
  5. Find an adequate role. The easiest is all_access. Click that.
  6. Click the "Mapped users" tab.
  7. Click "Manage mapping"
  8. In the Users field, add the full ARN of the IAM role. This is formatted like arn:aws:iam::############:role/xxxxxxxxxx
  9. Click "Map"
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文