Test before you save
Prove the rule three ways before it is saved, on sample events, against your SIEM's parser and on the last day of real data.
Goal
Before the rule is saved, you know that it fires on the event it is meant for, stays silent on one it is not, and returns real results from your SIEM.
Before you start
Open Test against events. It is the line under the editor. One sample event is waiting, named Should fire and set to Must fire.
Write an event that must fire. Name it
Account createdand replace the sample with an event your rule is meant to catch:{ "EventID": 4720, "TargetUserName": "temp_4821", "SubjectUserName": "a.morgan" }Press Add event, and write one that must not fire. The new event is already set to Must not fire. Name it
Failed logonand give it a different event ID:{ "EventID": 4625, "TargetUserName": "svc_backup" }
Press Run test. The panel reads 2/2 pass: the first event fired and the second stayed silent. Leave the box under the events ticked. It keeps them as the detection's golden events, so every later change to the rule is tested against them again.
Read Environment readiness. One row is there: Splunk parser, accepts the query. Under it Studio says the detection names no data it can check yet. The translated query has no index or sourcetype in it, so there is nothing to look for in your SIEM.

Press Run on last 24h. Studio runs the query on your SIEM as the rule would. On the example install the answer was 0 results in the last 24 hours, although accounts had been created that day. The query named no index, and the account Studio uses there searches only its default index unless a query names another.
Press Customize, and name the index. Customize is above the Splunk pane and makes the translation yours to edit. Type the index in front of the query, on the example install
index=windows. The button now reads Reset to Sigma, Environment readiness gains a row for the index reading present, and its badge reads Ready to run.
You should now see
2/2 pass beside Test against events, Ready to run beside Environment readiness, and a count of real results under Last 24 hours.
Those are three different proofs, and a rule can pass one and fail another, as step 6 showed.
- Test against events checks the rule's logic. Studio evaluates the Sigma rule against the events itself, and nothing is sent to your SIEM.
- Environment readiness checks that your SIEM accepts the query and has the data it names.
- Last 24 hours shows what the query returns from real data. Too many results is as useful a warning as none.
Quick check
Go deeper
- The Builder, for the test panel and the readiness rows.
- Check that it can run, for reading readiness line by line.
