Making Splunk Reports Fast with Data Model Acceleration
Splunk Data Model Acceleration pre-computes summaries so tstats reports run in seconds. Here's how to enable it, a worked example, and the storage trade-offs to watch.
23 Oct 2025, 06:28 UTC

The problem: dashboards that scan everything
A common Splunk pain point: an authentication dashboard queries a data model over millions of raw events. Every panel load triggers a full scan, so the dashboard takes minutes to render and indexers work hard every time someone opens it. Multiplying that across a team makes the cluster sluggish at exactly the times people are watching it.
The useful takeaway: if your searches run against a data model, Splunk Enterprise's Data Model Acceleration can pre-compute a summary of that model so reporting queries read a small summarized dataset instead of raw events. The trade-off is extra disk usage and a background rebuild process you need to watch.
What acceleration actually does
When you enable acceleration on a data model, Splunk runs a scheduled background search that extracts the fields defined in the model and stores them in a summary (a set of tsidx files alongside your indexes). Searches written with the tstats command can then answer from that summary instead of scanning raw events. For typical reporting queries — counts, stats by time, top values — this is routinely an order of magnitude or more faster, because the summary is far smaller than the raw data.
Two things are worth knowing up front:
- Acceleration is a Splunk Enterprise feature. It is not available in the free Splunk Light product.
- Only
tstats-style searches (and pivots built on the data model) benefit. A plainsearch index=auth ...still scans raw events.
Enabling it on a data model
In current Splunk Enterprise versions, you enable acceleration through Splunk Web. Menu labels have shifted slightly across releases, so treat this path as approximate and confirm against your version's documentation:
- Log in to Splunk Web as a user with permission to edit the data model (typically an admin or a role granted edit rights on that object; exact capability names vary by version).
- Navigate to Settings → Data Models and open the model you want to accelerate (for example,
Authenticationfrom the Common Information Model add-on). - Open the model's edit or acceleration settings and enable acceleration.
- Choose the summary window (the time range of data to keep summarized, e.g., 7 days) and accept or adjust the rebuild schedule.
- Save. Splunk then begins building the summary in the background; the first build can take a while on a large dataset.
You can also configure acceleration in the data model's JSON definition (keys such as acceleration.cron_schedule, acceleration.earliest_time, and acceleration.latest_time). The exact file location and supported keys differ across versions and app packaging, so verify against your installed version rather than assuming a fixed path.
Worked example: hourly login counts
Once the Authentication data model is accelerated and its summary has finished building, run this in the search bar (any user with read access to the model can run it):
| tstats summariesonly=t count from datamodel=Authentication.Authentication by _time span=1h
The summariesonly=t argument forces the search to read only the accelerated summary. Open the Job Inspector after the run and compare the event/scan counts against the same query without summariesonly (or against an equivalent raw search). On a busy authentication index you should see the accelerated version scanning a small fraction of the data. Exact numbers depend entirely on your volume and model, so measure on your own data rather than trusting any published multiplier.
If the accelerated query returns no results or errors, the summary may still be building or may not cover your search time range — check the acceleration status (described below) before assuming the query is wrong.
Trade-offs and how to watch them
- Disk usage. The summary is stored on your indexers and grows with the number of accelerated models, the fields in each model, and the summary window. Research and practitioner reports commonly cite roughly 10–30% of the corresponding raw data size, but treat that as a rough heuristic — cardinality and field count move it substantially. Check actual usage on your deployment.
- Rebuilds. Editing a model's fields or object hierarchy invalidates the existing summary and triggers a rebuild. During a rebuild,
summariesonlysearches may return incomplete results and indexer load rises. Make model changes in low-traffic windows. - Over-acceleration. Accelerating every large model "just in case" can exhaust storage. Accelerate the models that back frequently used dashboards and reports; disable acceleration on models nobody queries.
To verify acceleration is working and sized sanely:
- Check the data model's acceleration status in Splunk Web (the Data Models page shows build progress and summary size in current versions).
- Search the
_internalindex for acceleration-related log entries, e.g.index=_internal component=*Acceleration*, to confirm builds are running on schedule. Component names vary by version; broaden the filter if you see nothing. - Re-run the
tstats summariesonly=texample and confirm via Job Inspector that the scan count is far below the raw search.
Note: some verification paths you may find in older blog posts (specific REST endpoints, fixed summary directory paths like $SPLUNK_DB/summary) are version- and deployment-dependent. Confirm them against your Splunk version's documentation before scripting against them.
Actionable closing
Pick your highest-volume data model that backs a frequently used dashboard, enable acceleration with a modest summary window (start with 7 days), and give the initial build time to complete. Then run the tstats summariesonly=t comparison above and check summary size in the Data Models UI. If the speedup is real and storage is acceptable, expand to the next model; if storage grows faster than expected, shorten the summary window or reduce how often the summary rebuilds. Acceleration is a dial, not a switch — tune it per model rather than enabling it everywhere.
0 replies
A thoughtful contribution can make all the difference. Be the first to share one.