Diagnosing Splunk Data Model Acceleration Slowdowns
Slow pivot and tstats searches often point to stalled Data Model Acceleration. Verify tsidx files, datamodel.conf, and field volume before re-accelerating.
14 Jun 2026, 17:20 UTC

The Problem: Pivot and tstats Searches Slow Down Silently
Pivot reports and tstats searches that previously returned in seconds now take minutes. Indexer CPU and disk look normal, and no search head settings changed. The likely cause is stalled or missing Data Model Acceleration (DMA). DMA builds tsidx files, which are accelerated index summaries that let tstats scan summaries instead of raw events. When acceleration stops, Splunk falls back to raw event scans and latency climbs.
Takeaway: Check acceleration status before tuning hardware. A single tstats search shows whether DMA is active, and most recoveries are a configuration change plus a controlled re-acceleration.
Recognizable Condition and Likely Causes
| Symptom | Typical Cause |
|---|---|
Pivot reports and tstats queries show increasing latency over days or weeks | DMA disabled in datamodel.conf or tsidx generation stalled |
Job Inspector scanCount matches raw event count instead of accelerated count | Acceleration never built or was invalidated by a schema change |
No model-named directories under $SPLUNK_HOME/var/lib/splunk/tsidx/ | Acceleration engine not running or insufficient event volume |
Diagnostic Checks (Run in Order)
1. Check Acceleration Status with tstats
Run on the search head. Requires the admin or power role with the datamodel capability.
| tstats status
Look for your data model in the output. Healthy output shows acceleration.status: 100 and a recent acceleration.last_update. If the model is missing or shows Data model acceleration: disabled, DMA is not active.
2. Inspect tsidx Directories on Each Indexer
Run on each indexer with shell access as the splunk user or another user with read access to $SPLUNK_HOME.
ls -la $SPLUNK_HOME/var/lib/splunk/tsidx/
Expect directories named for your data models containing .tsidx files. Missing or empty directories mean acceleration never ran or was removed.
3. Verify datamodel.conf
Check on the search head, or on the deployer for search head clusters.
cat $SPLUNK_HOME/etc/apps/YourApp/default/datamodel.conf
Confirm the stanza:
[Your_Data_Model]
acceleration = true
acceleration.earliest_time = -30d
Risk: setting acceleration.earliest_time too far back on high-volume models can stall indexers for days. Start with -30d and expand only after the initial build completes.
4. Confirm Referenced Fields Exist and Have Volume
Run on the search head:
| tstats count where index=your_index by Your_Data_Model.field_name
Zero results usually means the field is not extracted or the data model maps to the wrong sourcetype. Acceleration needs indexed fields with enough event volume—commonly more than 10,000 events per bucket—to generate tsidx files.
Fixes Tied to Findings
Finding: acceleration is false or missing
- Edit
datamodel.confon the search head or deployer and setacceleration = true. - If using a search head cluster, push the bundle:
splunk apply shcluster-bundle. - Trigger re-acceleration from the search head:
| datamodel Your_Data_Model accelerate
Restarting the indexer cluster master can also start acceleration on all peers, but the search command is safer for controlled rollouts. This changes indexer state by writing new tsidx files.
Finding: tsidx directories exist but are empty
- Verify cluster health on the cluster master:
splunk show cluster-status. - Search indexer logs for acceleration errors:
grep DataModelAcceleration $SPLUNK_HOME/var/log/splunk/splunkd.log. - If logs are clean, schedule an I/O-intensive rebuild during a maintenance window.
Warning: rebuilding scans raw buckets and can monopolize disk I/O on large datasets.
Finding: acceleration stalls below 100 percent
For models with more than 10 million events, the default time window may be too short. Increase it:
[Your_Data_Model]
acceleration = true
acceleration.max_time = 604800
Monitor with | tstats status where datamodel=Your_Data_Model and watch acceleration.status move toward 100.
Verification After the Fix
- Run the same query before and after on the search head:
| tstats count from Your_Data_Model where _time > now()-1d
Check Job Inspector: scanCount should fall from millions of raw events to thousands of accelerated events, and runtime should drop measurably.
- Confirm completion in indexer logs:
grep "Data model acceleration completed" $SPLUNK_HOME/var/log/splunk/splunkd.log
No repeated acceleration started messages after the fix indicates stability.
Escalation Criteria
Engage Splunk Support only when all of the following are true:
- Acceleration remains disabled or below 100 percent for more than 24 hours after the configuration fix.
- The indexer cluster shows a healthy replication factor and search factor.
splunkd.loghas no tsidx errors such as permission denied, disk full, or bucket corruption.- You have collected
splunk diag --collect-log-filesfrom affected indexers.
Send the diag bundle, datamodel.conf excerpts, and tstats status output to Support.
Limitations and Version Notes
- Splunk 8.x and 9.x handle acceleration differently; 9.0+ uses a tsidx format that is not backward compatible. Check
splunk versionbefore reusing older configuration examples. - Single-node deployments lack cluster rebalancing, so large model acceleration can dominate I/O for days. Use
acceleration.manual_rebuilds = trueto control timing where supported. - Data models that reference
_rawor non-indexed fields cannot accelerate. Inspect the model schema forfieldType: "indexed"on every accelerated field.
Quick Reference
| Check | Command | Run On | Healthy Indicator |
|---|---|---|---|
| DMA status | | tstats status | Search head | acceleration.status: 100 |
| TSIDX files | ls $SPLUNK_HOME/var/lib/splunk/tsidx/ | Indexer | Model-named dirs with .tsidx files |
| Config | cat etc/apps/.../datamodel.conf | Search head or deployer | acceleration = true |
| Field volume | | tstats count where index=... by model.field | Search head | >0 results |
| Log confirmation | grep "acceleration completed" splunkd.log | Indexer | Recent timestamp, no repeat starts |
0 replies
A thoughtful contribution can make all the difference. Be the first to share one.