This topic describes how to generate a link to share a Grafana dashboard without logon. This allows you to view the dashboard without logon.

(Optional) Step 1: Create a Grafana organization

To share dashboards that can be viewed without logon, you must open the Grafana organization where the dashboards are located. However, this will make all dashboards under the organization open. For your data security, we recommend that you create an organization dedicated to sharing dashboards.

  1. Log on to the ARMS console.
  2. In the left-side navigation pane, choose Grafana > Workspaces.
  3. On the Workspaces page, click URL in the Actions column corresponding to the workspace to go to Grafana.
    Note To log on to Grafana, you can use the Admin account of Grafana and the password that you specified when you created the workspace. Alternatively, you can click Sign in with Alibaba Cloud to log on to Grafana by using the Alibaba Cloud account that you used to purchase the workspace.
  4. In the left-side navigation pane of Grafana, click the Shield icon icon, and then click the Orgs tab.
  5. On the Orgs tab, click +New org.
  6. On the New Organization page, enter an organization name and click Create.

Step 2: Set the organization to anonymous access

  1. Log on to the ARMS console.
  2. In the left-side navigation pane, choose Grafana > Workspaces.
  3. On the Workspaces page, find the workspace that you want to manage, and click the workspace ID or click Manage in the Actions column.
  4. In the left-side navigation pane, click Parameters.
  5. On the Parameter Settings page, click Modify Parameter and select a auth.anonymous.
  6. Modify the parameters of the following auth.anonymous types, and then click Save and Effective.
    • enabled: If you set this parameter to true, anonymous is enabled.
    • org_name: Enter the organization to which you want to share the dashboard.
    • org_role: You do not need to specify this parameter. The default value is viewer, which indicates that you have only the read-only permission.
      Note org_role parameters can also be set to editor and admin, but we recommend that you do not grant editing and management permissions to people who view dashboards.

(Optional) Step 3: Create a dashboard

Create a dashboard to share in your organization.

  1. Move the pointer over the avatar in the lower-left corner of the Grafana page to check whether the current organization is used to share the dashboard.
    If not, click Switch organization to switch organizations in the Switch Organization dialog box. View the current organization
  2. Optional:Create a connection.
  3. Create a dashboard. For more information, see Grafana documentation.

Step 4: Obtain the sharing link

  1. On the Grafana page, go to the dashboard that you want to share.
  2. Click the Share icon icon. On the Link tab, you can obtain the dashboard sharing link.
    Grafana dashboard sharing link
  3. Quit Grafana's current account, access the link obtained in the previous step, and verify whether the link can be opened.