Alibaba CloudLens Copilot for OSS is an intelligent observable data analysis service that is provided by the CloudLens for OSS feature of Log Service. Powered by the Qwen large language model (LLM), this service acts as an intelligent assistant for analyzing observable data from your cloud products. The Copilot recognizes your intent from your input and combines it with the domain expertise of Log Service in CloudLens scenarios to provide capabilities such as knowledge learning and scenario-based Q&A. This topic describes how to use Alibaba CloudLens Copilot for OSS.
Prerequisites
Open the CloudLens for OSS application and enable the collection of access logs and metering logs for your buckets. For more information, see CloudLens for OSS.
Features
-
Generate query and analysis statements for Log Service from natural language. This simplifies the process of writing statements.
-
Recommend suitable visual analysis charts for a clear view of analysis results.
-
Provide preset questions for three scenarios: performance monitoring, access analysis, and security analysis. This gives you a complete view of your current OSS status.
Notes
Alibaba CloudLens Copilot for OSS is currently in the invitation-only beta phase. To request access, submit a ticket.
Steps
-
Log on to the Log Service console.
-
In the Log Application area, on the Cloud Product Lens tab, click CloudLens for OSS.
-
Click in the upper-right corner of the CloudLens for OSS application to activate it.
This action is performed on the Access Management page. The target button is a tool icon with a slash.
-
Click an observability scenario to get preset questions, or ask your own question.
The observability scenarios include performance monitoring, access analysis, and security analysis.
-
Alibaba CloudLens Copilot for OSS returns results based on your question.
-
If the region is not specified, you must select one.
In the CloudLens Copilot conversation panel, the assistant lists several clickable suggestions based on your question, such as Which buckets are currently active?. After you select a suggestion, the system prompts you with Please manually select the region to query and displays a Select Region drop-down list.
-
View the visualized results.
CloudLens Copilot automatically generates the SQL query statement
__topic__ : oss_access_log | select bucket, count(1) as num from log group by bucket order by num desc limit 1000. The query results show each bucket and its corresponding number of accesses in a table. You can switch between the table and chart views. -
Click Chart to view the results.
The system displays the storage increment (
delta_add_10s) trend for each bucket over time as a line chart. Below the chart, use the table and chart tabs to switch the view.
-