How to setup public dashboards, is auth.anonymous required?

  • What Grafana version and what operating system are you using?
  • What are you trying to achieve?
    Trying to create a public dashboard
  • How are you trying to achieve it?
  1. Click the sharing icon in the dashboard header.
  2. Click the Public dashboard tab.
  3. Acknowledge the implications of making the dashboard public by selecting all the checkboxes.
  4. Click Generate public URL to make the dashboard public and make your link live.
  • What happened?
    It creates the link, and I’m able to navigate to the dashboard BUT it doesn’t refresh and throws errors each time it would normally refresh

WebSocket connection to ‘ws://ip_host:port/api/live/ws’ failed

IF I do the below settings, then the public dashboards work.
Is this required for setting up public dashboards?

# enable anonymous access 
enabled = true

# specify organization name that should be used for unauthenticated users

# specify role for unauthenticated users
org_role = Viewer

Hi @mellerbeck ,

There is no need to enable auth.anonymous, that is not related to public dashboard, but Grafana instance as a whole (see more details here).

The error you are receiving looks like it is related to live panels. Does the dashboard you want to share publicly contain live panels, if so, it is not current supported under Public Dashboard (see here list of limitations)