cloudwatch_list_log_streams
List and retrieve log streams from a specified CloudWatch log group in your AWS region. Specify parameters like log group name and limit to return JSON-formatted results.
Instructions
Lists log streams in a specified CloudWatch log group.
Parameters:
aws_region (str): The AWS region - use 'us-east-1' if not specified.
log_group (str): The name of the log group.
limit (int): Maximum number of log streams to return.
Returns:
str: JSON-formatted list of log streams.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
aws_region | Yes | ||
limit | No | ||
log_group | Yes |
Input Schema (JSON Schema)
{
"properties": {
"aws_region": {
"title": "Aws Region",
"type": "string"
},
"limit": {
"default": 50,
"title": "Limit",
"type": "integer"
},
"log_group": {
"title": "Log Group",
"type": "string"
}
},
"required": [
"aws_region",
"log_group"
],
"title": "cloudwatch_list_log_streamsArguments",
"type": "object"
}