All Products
Search
Document Center

:Share dashboards or charts without passwords

Last Updated:Aug 09, 2024

This topic describes how to share dashboards or charts with other users without passwords or embed dashboards or charts in a third-party system for display.

Prerequisites

Limits

  • A maximum of 10 shareable URLs can be created for a dashboard or a chart.

  • A maximum of 500 shareable URLs can be created within an Alibaba Cloud account.

Create a password-free share

  1. Log on to the Simple Log Service console.

  2. Go to the Dashboard page.

    1. In the Projects section, click the project that you want to manage.

    2. In the left-side navigation pane, choose Dashboard > Dashboards.

  3. In the Dashboard list, click the dashboard that you want to manage.

  4. Share a dashboard or a chart.

    • Share a dashboard: In the upper-right corner of the dashboard, choose Share > Create Password-free Share.

    • Share a chart: Find the chart that you want to share and select 配置监控与告警 > Create Password-free Share.

  5. In the Create Password-free Share dialog box, configure the parameters and click Create and Copy URL. The following table describes the parameters.

    Parameter

    Description

    Subject

    The theme of the page that you want to share.

    Share Name

    The name of the shareable URL.

    Time Range

    If you select Lock Time Range, you can lock the query time range of the dashboard or chart. The user who obtains the shareable URL cannot modify the query time range of the dashboard or chart.

    Filters and Variables

    If you select Retain Filters and Variables, the filters and variables of the dashboard or chart are retained.

    Validity Period

    The validity period of the shareable URL.

    Access Control

    Indicates whether access to the dashboard is controlled. If you select Alibaba Cloud Account, only the specified Alibaba Cloud account or RAM user is allowed to access the dashboard.

    Alibaba Cloud Account ID

    The ID of the Alibaba Cloud account or RAM user that you want to allow to access the dashboard. You can configure a maximum of 50 Alibaba Cloud accounts or RAM users.

  6. In the dialog box that appears, copy the URL. image.png

Manage a password-free share

After you create a shareable URL, choose Share > Share Management in the upper-right corner of the dashboard page. You can perform the following operations on a shareable URL:

  • View the name, creation time, and validity period of the shareable URL.

  • Click Copy URL to obtain the shareable URL.

  • Click Close to temporarily disable the URL. After you disable a shareable URL, you can click Enable to re-enable the URL.

  • Click Delete to delete the URL. After you delete a shareable URL, the URL is invalid.

image.png

Appendix 2: Grant a RAM user the permissions to perform password-free dashboard sharing

This section describes the policies that you must attach to a RAM user if you want to use a RAM user to perform password-free dashboard sharing.

Create password-free shares

  • Exact match

    The following policy grants a RAM user the permissions to create password-free shares for a specific dashboard in a specific project. Replace <Project name> and <Dashboard name> with the actual values.

    {
        "Version": "1",
        "Statement": [
            {
               "Effect": "Allow",
                "Action": "log:CreateDashboardSharing",
                "Resource": "acs:log:*:*:project/<Project name>/dashboard/<Dashboard name>"
            }
        ]
    }
  • Fuzzy match

    The following policy grants a RAM user the permissions to create password-free shares for all dashboards within the current Alibaba Cloud account:

    {
        "Version": "1",
        "Statement": [
            {
               "Effect": "Allow",
                "Action": "log:CreateDashboardSharing",
                "Resource": "acs:log:*:*:project/*/dashboard/*"
            }
        ]
    }

Obtain password-free shares

  • Exact match

    The following policy grants a RAM user the permissions to obtain the password-free shares of a specific dashboard in a specific project. Replace <Project name> and <Dashboard name> with the actual values.

    {
        "Version": "1",
        "Statement": [
            {
               "Effect": "Allow",
                "Action": "log:AccessDashboardSharing",
                "Resource": "acs:log:*:*:project/<Project name>/dashboard/<Dashboard name>"
            }
        ]
    }
  • Fuzzy match

    The following policy grants a RAM user the permissions to obtain the password-free shares of all dashboards within the current Alibaba Cloud account:

    {
        "Version": "1",
        "Statement": [
            {
               "Effect": "Allow",
                "Action": "log:AccessDashboardSharing",
                "Resource": "acs:log:*:*:project/*/dashboard/*"
            }
        ]
    }

Delete password-free shares

  • Exact match

    The following policy grants a RAM user the permissions to delete the password-free shares of a specific dashboard in a specific project. Replace <Project name> and <Dashboard name> with the actual values.

    {
        "Version": "1",
        "Statement": [
            {
               "Effect": "Allow",
                "Action": "log:DeleteDashboardSharing",
                "Resource": "acs:log:*:*:project/<Project name>/dashboard/<Dashboard name>"
            }
        ]
    }
  • Fuzzy match

    The following policy grants a RAM user the permissions to delete the password-free shares of all dashboards within the current Alibaba Cloud account:

    {
        "Version": "1",
        "Statement": [
            {
               "Effect": "Allow",
                "Action": "log:DeleteDashboardSharing",
                "Resource": "acs:log:*:*:project/*/dashboard/*"
            }
        ]
    }

Update password-free shares

  • Exact match

    The following policy grants a RAM user the permissions to update the password-free shares of a specific dashboard in a specific project. Replace <Project name> and <Dashboard name> with the actual values.

    {
        "Version": "1",
        "Statement": [
            {
               "Effect": "Allow",
                "Action": "log:UpdateDashboardSharing",
                "Resource": "acs:log:*:*:project/<Project name>/dashboard/<Dashboard name>"
            }
        ]
    }
  • Fuzzy match

    The following policy grants a RAM user the permissions to update the password-free shares of all dashboards within the current Alibaba Cloud account:

    {
        "Version": "1",
        "Statement": [
            {
               "Effect": "Allow",
                "Action": "log:UpdateDashboardSharing",
                "Resource": "acs:log:*:*:project/*/dashboard/*"
            }
        ]
    }

Query a list of password-free shares

  • Exact match

    The following policy grants a RAM user the permissions to query a list of password-free shares of a specific dashboard in a specific project. Replace <Project name> and <Dashboard name> with the actual values.

    {
        "Version": "1",
        "Statement": [
            {
               "Effect": "Allow",
                "Action": "log:ListDashboardSharing",
                "Resource": "acs:log:*:*:project/*"
            }
        ]
    }