kibana - 从开发环境打开kibana主页失败
问题描述
我通过跟进 wiki 来设置 kibana 本地开发
https://github.com/elastic/kibana/blob/7.1/CONTRIBUTING.md#setting-up-your-development-environment
yarn es snapshot
我可以使用上面的 cli在http://localhost:9200/本地运行 elastichsearch。
yarn start
我可以使用上面的 cli 启动 kibana 的服务器,根据日志,它促使我打开http://localhost:5601/ykl,
server log [15:57:39.991] [info][listening] Server running at http://localhost:5603/ykl
server log [15:57:40.150] [info][status][plugin:spaces@8.0.0] Status changed from yellow to green - Ready
在我使用默认用户/密码登录后,它返回一个错误响应。
{"statusCode":403,"error":"Forbidden","message":"Forbidden"}
我无法访问页面 http://localhost:5601/ykl/app/kibana#/management,它会将我重定向到http://localhost:5601/ykl/#/management错误响应就像上面的错误json 响应。
我的问题是访问主页的默认用户帐户有什么问题?如何更改 kibana 配置以允许我访问主页。
ps:我可以毫无问题地打开状态页面http://localhost:5601/ykl/status#?_g=()
解决方案
我自己找到了答案。只需使用另一个具有权限的默认用户帐户,实际上,我使用它登录elastic
并且它可以工作
https://www.elastic.co/guide/en/elastic-stack-overview/7.1/built-in-users.html
推荐阅读
- wordpress - Wordpress – 在永久链接中混合自定义帖子类型和自定义分类术语(例如 www.mysite.com/cpt-name/taxonomy-term)
- create-react-app - Windows 位置上安装“Create-react-app”的确切位置
- php - Laravel 分组或从列表中取六
- python - 抓取 Tradingview 图表的布尔状态
- django - super().__init__(*args, **kwargs) TypeError: __init__() got an unexpected keyword argument 'label'
- c# - 在 Wpf C# 中的两个视图之间搜索
- python - 打开简历模板匹配脱节的轮廓?
- javascript - 用玩笑测试 html 页面
- python - 查找列表中出现次数最多的数字范围
- python - numpy:如何设置精度打印 poly1d