Skip to main content
Glama

AWS‑IReveal‑MCP

cloudwatch_filter_log_events

Filter CloudWatch log events within a specified time range and log group using regex patterns. Retrieve JSON-formatted results with customizable parameters like region, timestamps, and event limits.

Instructions

Filters log events in a specified CloudWatch log group using FilterLogEvents API. Parameters: aws_region (str): The AWS region - use 'us-east-1' if not specified. log_group (str): The name of the log group. start_time (str): ISO formatted start timestamp (e.g. '2025-04-10T00:00:00Z'). end_time (str): ISO formatted end timestamp (e.g. '2025-04-11T00:00:00Z'). filter_pattern (str): A filter pattern to match events. limit (int): Maximum number of log events to return. **Supported regex syntax:** - When using regex to search and filter log data, you must surround your expressions with %. - Filter patterns with regex can only include the following: - Alphanumeric characters - An alphanumeric character is a character that is either a letter (from A to Z or a to z) or a digit (from 0 to 9). - Supported symbol characters - These include: '_', '#', '=', '@','/', ';', ',', and '-'. For example, %something!% would be rejected since '!' is not supported. - Supported operators - These include: '^', '$', '?', '[', ']', '{', '}', '|', '', '*', '+', and '.'. - The ( and ) operators are not supported. You cannot use parentheses to define a subpattern. - Multi-byte characters are not supported. Returns: str: JSON-formatted list of matching log events.

Input Schema

NameRequiredDescriptionDefault
aws_regionYes
end_timeYes
filter_patternNo
limitNo
log_groupYes
start_timeYes

Input Schema (JSON Schema)

{ "properties": { "aws_region": { "title": "Aws Region", "type": "string" }, "end_time": { "title": "End Time", "type": "string" }, "filter_pattern": { "default": "", "title": "Filter Pattern", "type": "string" }, "limit": { "default": 20, "title": "Limit", "type": "integer" }, "log_group": { "title": "Log Group", "type": "string" }, "start_time": { "title": "Start Time", "type": "string" } }, "required": [ "aws_region", "log_group", "start_time", "end_time" ], "title": "cloudwatch_filter_log_eventsArguments", "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/Brucedh/aws-ireveal-mcp'

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