Examples
SPL samples for common SOC scenarios
Examples
Run the samples below in Data Search after adjusting index and field names. Time modifiers such as -24h@h mean “last 24 hours aligned to the current hour”.
Hourly event volume
With alias:
Alerts in the last 24 hours
Top 10 failed authentication accounts
Top deny sources (with asset name)
Derived fields and conditional flags
IP geo enrichment
earliest / latest
Deny events in a subnet
How to confirm success
- No syntax errors; result row count is in the expected range
- After
lookup, asset fields are populated (CSV exists and keys match) - After
iplocation,geo_*fields have values for public IPs