Preview rule alerts generated on specified time range

Base URL
https://{kibana_url}
  • POST /api/detection_engine/rules/preview

Simulates a detection rule using the same rule type and query logic as a persisted rule, over a short time window, without persisting a rule or writing alerts. Use the response to validate queries, see sample matching documents, and inspect execution logs. Pair invocationCount and timeframeEnd to cap run time.

Responses

Base URL
https://{kibana_url}