# Splunk

> Splunk: what the collector reads, how to connect it, its permissions, its certification by Atlantic Agentic Labs and its security posture.

Built, not certified Built and tested against recorded and synthetic responses (version 0.1.0, 21 November 2026). Not yet run against the vendor's sandbox or a client environment.

Reads a Splunk deployment’s saved searches, the latest results of the saved searches you name, and its triggered alerts, so operations and security agents can explain an alert from the search behind it and what it found. It never starts a search: it reads the results of searches Splunk has already run on its own schedule.

Built against the Splunk REST API (Splunk Enterprise 9.x and Splunk Cloud Platform).

## At a glance

| Collector                   | Splunk, version `0.1.0`                                                                                                                                                                                         |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Reads                       | Splunk: Splunk Enterprise and Splunk Cloud Platform REST API (saved searches, search jobs, fired alerts) ([the vendor's documentation](https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTprolog)) |
| Family                      | Observability                                                                                                                                                                                                   |
| Kind                        | Monitoring                                                                                                                                                                                                      |
| Ways to connect             | Access token                                                                                                                                                                                                    |
| Scopes                      | - Read: `A role with search on the named indexes only`, `list_saved_searches`                                                                                                                                   |
| Read only                   | Yes                                                                                                                                                                                                             |
| Vendor's API can move money | No                                                                                                                                                                                                              |
| Personal data               | Content, Identity                                                                                                                                                                                               |
| Hosts it may contact        | Only the hosts on your deployment's allow-list (`*`: the host is the one you give it)                                                                                                                           |
| Vendor API versions         | Splunk REST API: saved/searches and its history, search/v2/jobs/{sid}/results, alerts/fired_alerts (Splunk Enterprise 9.x, Splunk Cloud Platform)                                                               |
| Lowest engine version       | `0.47.1`                                                                                                                                                                                                        |

## What it reads

- Saved searches: name, app, owner, description, the search string, schedule, alert type, severity and actions. A saved search that has gone is withdrawn.
- Results: for each saved search named in `searches`, the newest finished job in its dispatch history and up to `max_rows` (100 by default) of that job’s results. Internal fields (`_raw` and the other `_` fields, except `_time`) are left out. The record is rewritten only when a newer job has finished.
- Notable events (Enterprise Security): name a scheduled saved search over the `notable` index in `searches`; its latest results are read as above.
- Triggered alerts: each alert’s saved search, trigger time, severity and job id. They are history and are never withdrawn; Splunk expires them itself.
- Never read: raw events outside the named saved searches’ results, dashboards, users and roles, and configuration.

## How to connect

1. In Splunk, make a role that may search only the indexes the named saved searches use, give it to a service user, and create an authentication token for that user (**Settings, Tokens**). Splunk Cloud Platform needs REST API access to the stack’s management port enabled for your deployment’s egress addresses.
2. In LightHouse, open **Connectors**, choose **Splunk**, give the management address (`https://<host>:8089`), the saved searches to read results from, a label and how often to read, and paste the token.
3. In code, give the deployment the token as `SPLUNK_TOKEN` from your secret store and add a `kind: splunk` source card with `server_url`, `searches`, `label` and `requires`. `token_env` changes the variable name; `kinds` and `max_rows` narrow what is read.

## Permissions

A token for a role that may search the named indexes only. The collector sends only `GET` requests to the management address you give, with the token as a Bearer token. It never dispatches a search (no `POST` to `search/jobs`), never changes a saved search and never acknowledges an alert; what a result can contain is bounded by the role’s index access. Its read-only test proves the collector’s side on every change.

## Limits

- Results are read only for the saved searches named in `searches`, and only once Splunk has run them; an unscheduled saved search has no results to read.
- A job that expires between the history and results calls is skipped and read at the next run.
- At most `max_rows` rows (up to 1,000) of each result are read.
- Requests are paced and back off when Splunk asks (`Retry-After`).
- Built to fixtures, not yet certified: response shapes are taken from Splunk’s public REST API reference and are confirmed only when the collector is certified against a deployment.

## Data handling

- Saved search definitions, result rows and alert details are copied into the deployment’s corpus under the source’s `label`. Results can hold whatever the search returns, including user names, host names and addresses: choose the saved searches and the role’s indexes with that in mind.
- The token stays in your secret store and is never written to logs or run notes; it is sent only to the management address.
- Nothing leaves the deployment: only counts reach LightHouse.

## Troubleshooting

| What you see                                                         | What it means                                                              | What to do                                         |
| -------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------- |
| `server_url must be the https address of the Splunk management port` | The address is not https, or has a path                                    | Use `https://<host>:8089`                          |
| `unknown Splunk kinds`                                               | `kinds` names something other than saved_searches, results or fired_alerts | Correct the list                                   |
| `credential variable 'SPLUNK_TOKEN' is not set`                      | The token variable is empty                                                | Set it from your secret store                      |
| `HTTP 401`                                                           | The token is disabled, expired or token authentication is off              | Create a new token and enable token authentication |
| No results record for a named search                                 | The search has not finished a run, or its name differs                     | Check the schedule and the exact name              |
| Read succeeded, 0 written                                            | Nothing changed since the last read                                        | Nothing to do                                      |

## Certification

Each entry is a run by Atlantic Agentic Labs, newest first. Only a run against the vendor’s sandbox or a client environment certifies a collector; a certification lasts six months, or less if the vendor publishes an API version the collector does not list. See [How collectors are certified](/collectors/certification/).

| Date             | Collector | Engine   | Vendor API                                                                                  | Method                              | Expires        |
| ---------------- | --------- | -------- | ------------------------------------------------------------------------------------------- | ----------------------------------- | -------------- |
| 21 November 2026 | `0.1.0`   | `0.47.1` | REST API: saved/searches, saved search history, search/v2/jobs results, alerts/fired_alerts | Fixtures only: built, not certified | Not applicable |

## Security posture

From the collector’s last scan on the default branch. What each line means, and what blocks a release: [Security posture](/collectors/security/).

| Last scanned               | 25 November 2026                                                                                                                                                                                                      |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Critical findings          | 0                                                                                                                                                                                                                     |
| High findings              | 0                                                                                                                                                                                                                     |
| Medium findings            | 0                                                                                                                                                                                                                     |
| Low findings               | 0                                                                                                                                                                                                                     |
| Info findings              | 0                                                                                                                                                                                                                     |
| Release blocked            | No                                                                                                                                                                                                                    |
| Network allow-list check   | Pass                                                                                                                                                                                                                  |
| Read-only behavioural test | Pass                                                                                                                                                                                                                  |
| SBOM (CycloneDX)           | Produced                                                                                                                                                                                                              |
| Dependency licences        | Pass                                                                                                                                                                                                                  |
| Scanners                   | bandit 1.9.4, semgrep 1.181.1, pip-audit 2.10.1, osv-scanner 2.7.0, cyclonedx-py 7.5.0, pip-licenses 5.5.5, gitleaks repository job aal-secrets, hosts_check tools/hosts_check.py, read-only test pytest -m read_only |

Source: https://docs.atlanticagenticlabs.com/collectors/catalogue/splunk/
