Simple Log Service allows you to embed Full-stack Observability pages into a self-managed website. This way, you can share the Trace analysis and Trace query pages with other users, and the users can view your data in password-free logon mode. This topic describes how to construct an embedded URL and configure the related parameters.
Procedure
For information about how to embed Full-stack Observability pages, see Embed console pages and share log data.
Construct a password-free logon URL
All pages of the Full-stack Observability application can be embedded. In this example, the Trace analysis, Trace details, and Trace topology pages are used.
Trace analysis
Password-free logon URL
Replace the
<Project name>
and<ID of a Full-stack Observability instance>
variables with the actual values.https://sls4service.console.aliyun.com/lognext/app/observability/trace/<Project name>/<ID of a Full-stack Observability instance>?resource=/trace/<ID of a Full-stack Observability instance>/explorer&hideTopbar=true&isShare=true
Trace details
Password-free logon URL
Replace the
<Project name>
and<ID of a Full-stack Observability instance>
variables with the actual values.https://sls4service.console.aliyun.com/lognext/app/observability/trace/<Project name>/<ID of a Full-stack Observability instance>?resource=/trace/<ID of a Full-stack Observability instance>/view&traceId=<traceId>&spanId=<spanId>&startTime=<startTime>&endTime=<endTime>&hideTopbar=true&isShare=true
Trace topology
Password-free logon URL
Replace the
<Project name>
and<ID of a Full-stack Observability instance>
variables with the actual values.https://sls4service.console.aliyun.com/lognext/app/observability/trace/<Project name>/<ID of a Full-stack Observability instance>?resource=/trace/<ID of a Full-stack Observability instance>/dependence&hideTopbar=true&isShare=true
Parameters
For more parameters, see Configure the parameters related to the console pages to embed.
Parameter | Type | Required | Description | Example |
| string | No | The search statement. | KnxzZWxlY3QgY291bnQoKik= |
| long | No | The time range of a query. For more information, see Valid values of the queryTimeType parameter. Valid values:
| queryTimeType=1 |
| timestamp (date) | No | The start time of a query. This parameter is available only when the | startTime=1547776643 |
| timestamp (date) | No | The end time of a query. This parameter is available only when the | endTime=1547776731 |
| boolean | No | Specifies whether to hide the left-side navigation pane. | hideSidebar=true |
| boolean | No | Specifies whether to hide the top navigation bar. | hideTopBar=true |
| boolean | No | Specifies whether to hide the left-side navigation pane and other tabs. | isShare=true |