gcp-trace-find-from-logs
Identify and trace log entries in Google Cloud by applying filters and retrieving relevant logs, aiding in debugging and monitoring activities.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filter | Yes | Filter for logs (e.g., "severity>=ERROR AND timestamp>"-1d"") | |
limit | No | Maximum number of logs to check | |
projectId | No | Optional Google Cloud project ID |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"filter": {
"description": "Filter for logs (e.g., \"severity>=ERROR AND timestamp>\"-1d\"\")",
"type": "string"
},
"limit": {
"default": 10,
"description": "Maximum number of logs to check",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"projectId": {
"description": "Optional Google Cloud project ID",
"type": "string"
}
},
"required": [
"filter"
],
"type": "object"
}