kibana 使用

kibana官方地址:https://www.elastic.co/guide/en/kibana/7.8/xpack-security.html

Index Management

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:

 

 

 

 

 

posted on 2022-08-25 14:50  永远的大空翼  阅读(359)  评论(0编辑  收藏  举报