Skip to main content
Glama

Aliyun MCP Server

by nailuoGG

querySLSLogs

Extract and analyze logs from Aliyun Simple Log Service (SLS) by specifying project, logstore, query, and time range. Supports pagination, result ordering, and customizable limits for efficient log retrieval.

Instructions

Query Aliyun SLS (Simple Log Service) logs

Input Schema

NameRequiredDescriptionDefault
fromNoStart time in milliseconds (defaults to 1 hour ago)
limitNoMaximum number of logs to return (default: 100, max: 1000)
logstoreYesSLS logstore name
offsetNoOffset for pagination (default: 0)
projectYesSLS project name
queryYesSLS query statement
reverseNoWhether to return results in reverse order (default: false)
toNoEnd time in milliseconds (defaults to now)

Input Schema (JSON Schema)

{ "properties": { "from": { "description": "Start time in milliseconds (defaults to 1 hour ago)", "type": "number" }, "limit": { "description": "Maximum number of logs to return (default: 100, max: 1000)", "type": "number" }, "logstore": { "description": "SLS logstore name", "type": "string" }, "offset": { "description": "Offset for pagination (default: 0)", "type": "number" }, "project": { "description": "SLS project name", "type": "string" }, "query": { "description": "SLS query statement", "type": "string" }, "reverse": { "description": "Whether to return results in reverse order (default: false)", "type": "boolean" }, "to": { "description": "End time in milliseconds (defaults to now)", "type": "number" } }, "required": [ "project", "logstore", "query" ], "type": "object" }

Other Tools from Aliyun MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nailuoGG/aliyun-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server