# SPL Cheat Sheet

Splunk SPL: search commands, eval functions, stats, and field extraction.

SPL is a pipeline. A base search selects events and each command after a pipe reshapes what the one before produced.

## Before you read the table

- Name an index and sourcetype in the base search. It is the biggest performance lever you have.
- Filter before you transform. Every command works on every row you hand it.
- where reads an unquoted value as a field name. Forget the quotes and it silently matches nothing.

## Related

- [Hunt Query Builder: SPL](https://www.cyberkit.win/tools/hunt-query/?tab=spl)
- [KQL Cheat Sheet](https://www.cyberkit.win/reference/kql-cheatsheet/)
- [Rule Range: Query pipeline](https://www.cyberkit.win/drills/rule-range/?stage=pipeline)

Canonical: https://www.cyberkit.win/reference/spl-cheatsheet/

This is a static reference page. It does not collect anything.
