Build SLS log queries with SQL analytics, alert configurations, dashboards, and notification channels.
Last verified: May 2026
Output will appear here...Alibaba Cloud Log Service (SLS) is the managed log aggregation platform — projects contain logstores, queries use a SQL-like syntax with full-text and field-based filtering, alerts run on saved queries, and dashboards aggregate views. The SLS Query Builder generates query definitions, saved queries, alerts, exclusion rules, and archiving configurations. Output is YAML-ready for the SLS API.
SLS ingestion has climbed to a meaningful monthly cost. You audit by source and find health-check probes account for 35% of ingestion. Adding exclusion rules at the agent level drops next month's bill by a third. You also build saved queries for the top error patterns so on-call doesn't need to remember syntax during incidents.
Tag log lines with structured fields (service, env, request_id) at the application layer. Unstructured logs are slow to query and produce vague aggregations.
Set alert sensitivity to match operational tolerance for false alarms. Alerts on a single error log line burn out on-call; alerts requiring 50+ errors in 5 minutes catch real problems without noise.
The builder collects SLS project, logstore, query definitions (full-text + SQL), saved query names, alert thresholds, exclusion rules, and archive bucket configuration. Output is JSON for the SLS API plus a Terraform block for the project/logstore configuration. Alerts and archive rules are emitted as additional resources.
Was this tool helpful?
Disclaimer: This tool runs entirely in your browser. No data is sent to our servers. Always verify outputs before using them in production. AWS, Azure, and GCP are trademarks of their respective owners.