Skip to Content

Splunk

The Splunk service lets your agent run SPL queries against your own log data during simulations. Upload a log file via the console, then your agent hits the usual Splunk REST endpoints.

Enable the service

.veris/veris.yaml
services: - name: splunk

Requests to *.splunkcloud.com are routed to the mock automatically via DNS interception. For self-hosted Splunk deployments, add your own hostnames under dns_aliases.

Provide your log data

Upload a log file via the Datasets section on your Environment page in the console. Select the splunk service, choose CSV or NDJSON as the format, and upload your file.

One dataset per service per environment.

Endpoints

EndpointPurpose
POST /services/search/jobsCreate a search job with an SPL query
GET /services/search/jobs/{sid}/resultsRetrieve search results
GET /services/search/jobs/{sid}/eventsRetrieve events
GET /services/search/jobs/{sid}/summaryField summary statistics
GET /services/search/jobs/{sid}/timelineTimeline buckets
POST /services/collector/eventHEC — ingest events
GET /services/saved/searchesList saved searches

All v2 equivalents (/services/search/v2/jobs/...) are also supported.