kibana 使用
kibana官方地址:https://www.elastic.co/guide/en/kibana/7.8/xpack-security.html
View index settings, mappings, and statistics and perform operations, such as refreshing, flushing, and clearing the cache. Practicing good index management ensures that your data is stored cost effectively.
---------------------------------------------------------------------------------------------------------
Security
The Elastic Stack security features enable you to easily secure a cluster. With security, you can password-protect your data as well as implement more advanced security measures such as encrypting communications, role-based access control, IP filtering, and auditing. For more information, see Secure a cluster and Configuring Security in Kibana.
Users
To create and manage users, open the menu, then go to Stack Management > Security > Users. You can also change their passwords and roles. For more information about authentication and built-in users, see Setting up user authentication.
Roles
To manage roles, open the menu, then go to Stack Management > Security > Roles, or use the Kibana role management APIs. For more information on configuring roles for Kibana, see Granting access to Kibana.
For a more holistic overview of configuring roles for the entire stack, see User authorization.
Managing roles that grant Kibana privileges using the Elasticsearch role management APIs is not supported. Doing so will likely cause Kibana’s authorization to behave unexpectedly.
-----------------------------------------------------------------------------------------------------------
以kibana7.8.0为例,进行有关kibana账号权限测试。
需要创建user,roles,space缺一不可。
例1:创建kibana账号user01,权限是对tomcat-access-log-2022.08.24这个索引日志有读的权限(可以创建索引)。
创建账号user01,创建role为role01,创建space为space01。
创建space01:
创建role01:
创建账号user01:
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!