opencdr_logs_search
Search read-only audit and CloudTrail logs by service, event ID, or event name, with date-range filtering for service queries and pagination for result sets.
Instructions
Search audit/CloudTrail logs. Read-only.
Provide exactly ONE selector: service, event_id, or event_name (the backend serves each from a dedicated index and cannot AND-combine them). date_from/date_to (YYYY-MM-DD, UTC, inclusive, max 31-day range) apply ONLY to the service selector and default to the last 7 days; they are ignored for event_id/event_name. Paginated via next_token.
Correlating by source_ip / principal / access_key_id / user_agent / resource / account is not yet supported by the backend -- use event_id to pivot on a specific event.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| order | No | desc | |
| date_to | No | ||
| service | No | ||
| event_id | No | ||
| date_from | No | ||
| event_name | No | ||
| next_token | No |