pySigma Splunk backend
Actively maintained. Last release 2 weeks ago, commits in 11 of the last 26 weeks. A safe choice.
pip install pysigma-backend-splunk
pySigma Splunk Backend
This is the Splunk backend for pySigma. It provides the package sigma.backends.splunk with the SplunkBackend class.
Further, it contains the following processing pipelines in sigma.pipelines.splunk:
- splunk_windows_pipeline: Splunk Windows log support
- splunk_windows_sysmon_acceleration_keywords: Adds fiels name keyword search terms to generated query to accelerate search.
It supports the following output formats:
- default: plain Splunk queries
- savedsearches: Splunk savedsearches.conf format.
Data model (tstats) query settings
The data_model output format generates accelerated tstats queries against a Splunk data
model. The following settings let you tune the generated query without changing the Sigma
rules themselves. They are read from the pipeline processing state (set with a
SetStateTransformation / the set_state pipeline item), so detection logic stays separate
from environment-specific query configuration. Defaults keep the generated query unchanged.
summariesonly(also available as thesummariesonlybackend option, e.g.-O summariesonly=truewith sigma-cli): controls thetstats summariesonly=...flag. Accepts a boolean or a string (true/false). When both are set, the pipeline processing state takes precedence over the backend option. Default:false.
The following are Splunk-specific extensions of the data model output and have no direct representation in the Sigma standard:
tstats_span: adds_timeto thebyclause and aspan=<value>bucket, e.g.tstats_span: 1h. The value is a number followed by an optional Splunk time unit (s,sec,secs,second,seconds,m,min, , , , , , , , , , , , , , ); a bare number (e.g. ) is treated as seconds.