qradar_execute_aql_search
Execute AQL queries on QRadar SIEM to search logs and flows, with options to wait for completion and control result size.
Instructions
Execute an AQL (Ariel Query Language) search on QRadar logs or flows.
Args: query: The AQL query expression (e.g. "SELECT sourceip, destinationip, UTF8(payload) FROM events LAST 5 MINUTES LIMIT 50"). wait_for_completion: If True, polls the search until COMPLETED or timeout. If False, immediately returns the search_id. timeout_seconds: Maximum time to wait in seconds (defaults to settings.default_aql_wait_timeout). max_results: Number of records to return once completed (default: 50).
Returns: JSON string containing the search results or the search job status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| max_results | No | ||
| timeout_seconds | No | ||
| wait_for_completion | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |