Skip to main content
Glama

get_event_logs

Retrieve and filter Windows event logs from System, Application, or Security sources to monitor system events, troubleshoot issues, and analyze security activities.

Instructions

Get Windows event logs.

Args: logname: Name of the event log (System, Application, Security, etc.) newest: Number of most recent events to retrieve (default 10) level: Filter by event level (1: Critical, 2: Error, 3: Warning, 4: Information) timeout: Command timeout in seconds (1-300, default 60)

Input Schema

NameRequiredDescriptionDefault
lognameYes
newestNo
levelNo
timeoutNo

Input Schema (JSON Schema)

{ "properties": { "level": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Level" }, "logname": { "title": "Logname", "type": "string" }, "newest": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": 10, "title": "Newest" }, "timeout": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": 60, "title": "Timeout" } }, "required": [ "logname" ], "type": "object" }

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/DynamicEndpoints/PowerShell-Exec-MCP-Server'

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