Connect Alibaba Cloud SLS to Your AI Agent

Choose a project, logstore, and time window to review matching log entries or examine their time distribution.

5 tools Federated

Try a Alibaba Cloud SLS Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill Alibaba Cloud SLS

Summarize Matching Logs

Query log entries with a stated search expression and summarize the evidence.

/oo Alibaba Cloud SLS: Query SLS project [project], logstore [logstore], endpoint [regional endpoint], from [start time] to [end time] for [search expression]. Read up to 100 log entries, newest first, with PowerSQL disabled. Summarize patterns and say if results are incomplete.

Review Event Time Distribution

Use histogram counts to identify periods with more matching events.

/oo Alibaba Cloud SLS: For SLS project [project], logstore [logstore], endpoint [regional endpoint], show the time distribution of logs matching [query] between [start time] and [end time]. Identify peaks using the returned counts.

Start Working with Alibaba Cloud SLS

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect Alibaba Cloud SLS

    Configure federated access to an Alibaba Cloud RAM role with SLS read permissions.

    Connect Alibaba Cloud SLS →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • A trusted OIDC provider, audience, RAM role, and default regional SLS endpoint.
  • Your cloud administrator may need to configure the role’s trust and resource permissions. Provide the project, logstore, time range, and query for log investigations.

Alibaba Cloud SLS Tools

This integration reads SLS projects and logstores and queries logs and histograms using federated access to an Alibaba Cloud role.

Projects and Logstores

List projects for selected regions and inspect a project’s logstores.

Logs and Histograms

Query matching log rows and read their distribution across time intervals.

5 tools

List Projects

List Projects visible through one Alibaba Cloud Simple Log Service regional endpoint.

aliyun_sls.list_projects

List Projects Across Regions

List all Projects from explicitly supplied Simple Log Service regional endpoints with bounded concurrency and optional partial-failure results.

aliyun_sls.list_projects_across_regions

List Logstores

List Logstores in one Simple Log Service Project.

aliyun_sls.list_logstores

Query Logs

Query logs from one Simple Log Service Logstore with the GetLogs API.

aliyun_sls.query_logs

Get Histograms

Query the time distribution of matching logs in one Simple Log Service Logstore.

aliyun_sls.get_histograms

Frequently Asked Questions

Does this use a permanent access key?

This provider uses federated role access and temporary credentials. Configure the role trust and permissions rather than supplying a permanent access key.

How do I know whether a log query is complete?

Query results include processing progress and counts. Ask the assistant to report those alongside its summary and avoid treating an incomplete response as the entire dataset.

Can I list projects in several regions?

Yes. Provide the regional endpoints explicitly. The multi-region result reports failures and whether the combined result is complete.

Connect Alibaba Cloud SLS

About Alibaba Cloud SLS ↗