其他分享
首页 > 其他分享> > Grafana开启匿名登录

Grafana开启匿名登录

作者:互联网

要为匿名用户设置登录,需要 grafana.ini在文件中进行配置。

如果要隐藏登录页面,请执行此配置


[auth]
# Set to true to disable (hide) the login form, useful if you use OAuth
# disable_login_form = false 
disable_login_form = true
# 更改disable_login_form到true

启用匿名访问

 [auth.anonymous]
 # enable anonymous access 
   enabled = true

指定组织

# specify organization name that should be used for unauthenticated users
org_name = YOUR_ORG_NAME_HERE       
# 使用admin登录进去之后,修改了组织的名称, 保存,就OK了
# 组织角色Viewer和Editor
# specify role for unauthenticated users
org_role = Editor

标签:登录,form,开启,Grafana,匿名登录,disable,anonymous,login,true
来源: https://www.cnblogs.com/shunzi115/p/12452596.html