Aliyun SLS Openclaw Integration for Openclaw

Provision Alibaba Cloud SLS observability for AI agents with automated collector setup and dashboard creation.

cinience
v1.0.0
Apr 2, 2026
0
684
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install aliyun-sls-openclaw-integration

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install aliyun-sls-openclaw-integration using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Aliyun SLS Openclaw Integration?

The Aliyun SLS Openclaw Integration is a specialized automation tool designed to bridge the gap between Openclaw Skills and Alibaba Cloud's Simple Log Service (SLS). It automates the complex process of setting up observability pipelines on Linux hosts, ensuring that your AI agent's activities are logged, indexed, and visualized without manual configuration overhead.

By leveraging this integration, developers can maintain a consistent audit trail and operational visibility. The skill handles everything from installing the Alibaba Cloud CLI and LoongCollector to provisioning machine groups and deploying pre-defined dashboards for auditing and gateway monitoring.

Aliyun SLS Openclaw Integration Use Cases

  • Automating the deployment of observability agents on new Linux servers.
  • Synchronizing Openclaw Skills logs with centralized Alibaba Cloud SLS projects.
  • Rapidly provisioning audit and gateway dashboards for AI agent monitoring.
  • Managing idempotent machine group and collection configuration updates across distributed environments.

How Aliyun SLS Openclaw Integration Works

  1. Environment Validation: The skill checks for necessary Alibaba Cloud credentials (AK/SK) and project identifiers in the environment variables.
  2. CLI & Collector Installation: It detects the Linux distribution, installs the aliyun CLI, and provisions the LoongCollector (ilogtail) based on the target project's region.
  3. Identifier Mapping: A local user-defined identifier is generated and registered to link the host machine to an Alibaba Cloud machine group.
  4. Resource Provisioning: It creates the target Logstore, applies indexing rules, and deploys standard dashboard templates from reference JSON files.
  5. Binding & Configuration: The skill generates a collection configuration and binds it to the machine group to initiate log streaming.

Aliyun SLS Openclaw Integration Setup

To use this integration with Openclaw Skills, ensure you have your Alibaba Cloud credentials exported to your environment:

export ALIBABA_CLOUD_ACCESS_KEY_ID='your_access_key'
export ALIBABA_CLOUD_ACCESS_KEY_SECRET='your_secret_key'
export ALIYUN_UID='your_aliyun_uid'
export PROJECT='your_sls_project'
export LOGSTORE='your_logstore_name'

The skill will automatically handle the installation of the aliyun-cli and necessary collector services during execution.

Aliyun SLS Openclaw Integration Data Schema & Taxonomy

The integration manages resources according to the following schema within Alibaba Cloud:

Resource Name/Path Description
Machine Group openclaw-sls-collector Groups hosts using a userdefined identifier mapping.
Logstore ${LOGSTORE} The destination for all collected log data (default 30-day TTL).
Dashboard openclaw-audit Visualization for audit logs and agent activity.
Dashboard openclaw-gateway Visualization for traffic and gateway metrics.
Config openclaw-audit_${LOGSTORE} The Logtail collection configuration definition.

Aliyun SLS Openclaw Integration Advanced Features

  • Idempotent Execution: Automatically detects existing resources and performs updates instead of duplicates, making it safe for CI/CD pipelines.
  • Template-Based Deployment: Uses external JSON templates for indexes and dashboards, allowing for easy customization of the observability stack.
  • Multi-Distro Support: Built-in support for apt, dnf, yum, and zypper package managers.
  • Automated Region Resolution: Dynamically fetches the correct regional endpoint based on the provided SLS project name.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*