validate_query
Validate Sumo Logic query syntax by running a minimal search job and canceling it immediately. Returns valid or specific error.
Instructions
Check if a Sumo Logic query is syntactically valid.
Creates a minimal search job (1-second range) and immediately cancels it. Returns valid=true if the query was accepted, or the specific error message if it was rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Sumo Logic query to validate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |