简体   繁体   English

Kibana 用户禁止错误 {“statusCode”:403,“error”:“Forbidden”,“message”:“Forbidden”}

[英]Kibana user forbidden error {“statusCode”:403,“error”:“Forbidden”,“message”:“Forbidden”}

I just setup my xpack in elasticsearch 7.1.0 as below in elasticsearch.yml:我只是在elasticsearch 7.1.0中设置我的 xpack,如下 elasticsearch.yml:

xpack.security.enabled: true discovery.type: single-node in my elasticsearch.yml xpack.security.enabled: true discovery.type: single-node

Then, i ran >elasticsearch-setup-passwords interactive and changed all my built-in user passwords.然后,我运行>elasticsearch-setup-passwords interactive并更改了我所有的内置用户密码。

this is the change i made in Kibana.yml这是我在Kibana.yml中所做的更改

xpack.security.enabled: true 
elasticsearch.username: "kibana" 
elasticsearch.password: "password@123"

When i restarted Kibana, i ws prompted with a username password page, where i gave kibana/password@123 that i had set in my yml.当我重新启动 Kibana 时,我会提示一个用户名密码页面,我在其中提供了我在 yml 中设置的kibana/password@123

Im getting the below response:我得到以下回复:

{"statusCode":403,"error":"Forbidden","message":"Forbidden"}

Please help me out.请帮帮我。

Configuring security in Kibana在 Kibana 中配置安全性

To use Kibana with X-Pack security:要使用具有 X-Pack 安全性的 Kibana:

Update the following settings in the kibana.yml configuration file:更新 kibana.yml 配置文件中的以下设置:

elasticsearch.username: "kibana" elasticsearch.password: "kibanapassword"

Set the xpack.security.encryptionKey property in the kibana.yml configuration file.在 kibana.yml 配置文件中设置 xpack.security.encryptionKey 属性。

xpack.security.encryptionKey: "something_at_least_32_characters"

Optional: Change the default session duration.可选:更改默认的 session 持续时间。

xpack.security.sessionTimeout: 600000

Restart Kibana.重启 Kibana。

Please follow this link using-kibana-with-security 请使用-kibana-with-security 访问此链接

Resolution: using "elastic" user account instead of kibana fixed this issue.解决方案:使用“弹性”用户帐户而不是 kibana 解决了此问题。

暂无
暂无

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

相关问题 Kibana {"statusCode":403,"error":"Forbidden","message":"Forbidden"} - Kibana {"statusCode":403,"error":"Forbidden","message":"Forbidden"} Kibana 创建的用户无法登录 {"statusCode":403,"error":"Forbidden","message":"Forbidden"} - User create by Kibana can't not sign in {"statusCode":403,"error":"Forbidden","message":"Forbidden"} spark弹性搜索抛出403禁止错误 - spark elastic search throwing 403 forbidden error 尝试使用内置 kibana 用户登录 Kibana web 界面时出现 403/Forbidden - 403/Forbidden when trying to login to the Kibana web interface using the built-in kibana user 无法在 Kibana 上安装示例数据集 - 禁止错误 - Can't install sample dataset on Kibana - Forbidden Error ElasticSearch Dejavu Chrome扩展程序:编辑值时出现403禁止错误 - ElasticSearch Dejavu Chrome Extension: 403 Forbidden error while editing values AWS Elasticsearch 使用 ES 客户端返回 403 禁止错误 - AWS Elasticsearch returning 403 forbidden error using ES client Elasticsearch::Transport::Transport::Errors::Forbidden: [403] 发送超过 1200 个字符的文本字段时出错 - Elasticsearch::Transport::Transport::Errors::Forbidden: [403] error when sending text fields with more than 1200 characters 使用AWS开发工具包从AWS Elastic Search获取索引时出现403禁止错误 - 403 forbidden error while getting indexes from AWS Elastic search using AWS SDK 无法使用metricbeat获取kubernetes资源“事件”,获取错误“禁止失败403事件:” - cannot get kubernetes resource “events” using metricbeat, getting error “Failure 403 events is forbidden:”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM