Password-free sharing allows you to share a dashboard with other users or integrate it into a third-party system without requiring login credentials. You can manually create password-free shares and integrate dashboards in the console. To integrate dashboards into an application or dynamically generate shares, see Embed and share console pages.
Overview
To configure password-free sharing for a dashboard, follow these steps:
-
Configure a password-free share: Set parameters such as theme, share name, time range, filters and variables, validity period, and access control.
-
View the dashboard or chart: Users can access the shared content directly through a URL or view it in the DingTalk or WeCom clients.
Prerequisites
To share dashboards with DingTalk or WeCom accounts, bind your Alibaba Cloud account and RAM user to your DingTalk or WeCom organization:
-
Log on to the console with an Alibaba Cloud account. On the right side of the console homepage, click
.In the upper-right corner of the Password-free Share Management card, click the drop-down arrow and choose Bind DingTalk or Bind WeCom.
-
Use a DingTalk organization administrator or a WeCom administrator to scan the QR code to activate the application.
The Bind CorpId dialog box includes three steps: Scan code to activate, Get DingTalk CorpId, and Authorize. Scan the QR code in the dialog box to activate the SLS Sharing and Password-free Access DingTalk mini-program.
-
Log on to the console as a RAM user and repeat the first step.
Create a password-free share
1. Configure the share
-
Log on to the Simple Log Service console, select the project, and on the Dashboard > Dashboards page, click the target dashboard.
-
Share a chart or the entire dashboard.
-
To share a chart: In the upper-right corner of the chart, choose
> Create Password-free Share. -
To share the dashboard: From the top menu of the dashboard page, choose Share > Create and Set.
-
-
Configure the parameters for the password-free share.
Parameter
Description
Theme
Select a theme for the shared dashboard: Default, Light, or Dark.
Share Name
Required. A name for the password-free share, used to identify different sharing configurations.
Time Range
Select Lock Time Range to prevent shared users from changing the query time range of the dashboard or chart.
Filters and Variables
Select Retain Filters and Variables to preserve the filters and variables for dynamically adjusting query and analysis statements in the shared dashboard or chart.
Validity Period
Set the validity period for the share link: Never expires or a specific expiration date.
Access Control
Specifies who can access the shared content:
-
Unlimited: Anyone with the URL can access the share.
-
Alibaba Cloud Account: Restricts access to specified Alibaba Cloud accounts. Provide the account ID for each authorized user.
-
DingTalk Account: Restricts access to specified DingTalk users or organizations.
ImportantFor information about how to create a DingTalk team, see How do I create an organization? For information about how to set up an administrator, see How do I configure permissions to manage contacts?.
-
WeCom Account: Restricts access to specified WeCom users or organizations.
ImportantFor information about how to set up a WeCom administrator, see How do I add, set, or change a WeCom administrator?.
-
-
Click Create and Copy URL. This creates the share and copies the link to your clipboard.
2. View the share
Unlimited
-
Any user with the share link can open it directly in a browser.
Alibaba Cloud account
Users with the specified Alibaba Cloud accounts can access the dashboard with the share link after logging in to the console.
DingTalk account
View in DingTalk
Users with the specified DingTalk accounts can view the Simple Log Service dashboard in the DingTalk mobile or desktop client.
-
In DingTalk, go to the Workplace page, click the All Members tab, and then click SLS Sharing and Password-free Access.
-
Click View Details.
View in a browser
-
Copy the dashboard share link.
On the Password-free Share Management page, find your share and click Copy Link in the Actions column.
-
Paste the link into your browser's address bar.
WeCom account
View in WeCom
Users with the specified WeCom accounts can view the Simple Log Service dashboard in the WeCom mobile or desktop client.
-
In WeCom, go to the Workplace page and click SLS Sharing and Password-free Access.
-
Click View Details in the upper-right corner of the target card.
The Password-free Share Management page in the WeCom Workplace lists shares in a table. Click View Details in the Actions column for the desired share.
View in a browser
-
Copy the dashboard share link.
-
Paste the link into your browser's address bar and scan the QR code with WeCom to log in.
Manage password-free shares
-
Dashboard page: In the dashboard's display mode, choose Share > Share Management from the top menu.
-
Console homepage: Click the Password-free Share Management card on the right side of the page.
Unbind from DingTalk or WeCom
On the right side of the console homepage, find the Password-free Share Management card, click the drop-down arrow, and select Unbind DingTalk or Unbind WeCom.
RAM permissions for password-free sharing
A RAM user must be granted specific permissions to use password-free sharing.
Create password-free shares
-
Exact match
This policy authorizes a RAM user to create password-free shares only 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
This policy authorizes a RAM user 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/*" } ] }
Access password-free shares
-
Exact match
This policy authorizes a RAM user to access password-free shares only 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:AccessDashboardSharing", "Resource": "acs:log:*:*:project/<project_name>/dashboard/<dashboard_name>" } ] } -
Fuzzy match
This policy authorizes a RAM user to access password-free shares for 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
This policy authorizes a RAM user to delete password-free shares only 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:DeleteDashboardSharing", "Resource": "acs:log:*:*:project/<project_name>/dashboard/<dashboard_name>" } ] } -
Fuzzy match
This policy authorizes a RAM user to delete password-free shares for any dashboard 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
This policy authorizes a RAM user to update password-free shares only 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:UpdateDashboardSharing", "Resource": "acs:log:*:*:project/<project_name>/dashboard/<dashboard_name>" } ] } -
Fuzzy match
This policy authorizes a RAM user to update password-free shares for any dashboard within the current Alibaba Cloud account.
{ "Version": "1", "Statement": [ { "Effect": "Allow", "Action": "log:UpdateDashboardSharing", "Resource": "acs:log:*:*:project/*/dashboard/*" } ] }
List password-free shares
This policy authorizes a RAM user to list the password-free shares for all dashboards.
{
"Version": "1",
"Statement": [
{
"Effect": "Allow",
"Action": "log:ListDashboardSharing",
"Resource": "acs:log:*:*:project/*"
}
]
}