Skip to main content

 

Splunk Lantern

Troubleshooting Splunk Cloud Platform search performance and preventing recurrence with workload management

Performance problems in Splunk Cloud Platform can quickly become business problems. When search heads run out of compute or memory, scheduled correlation searches skip, and the Security Operations Center (SOC) loses visibility into active threats.

In modern Splunk Cloud Platform deployments, performance degradation often presents as spinning dashboards, skipped scheduled alerts, or frozen search head UIs. Teams frequently assume these symptoms demand costly hardware capacity upgrades. In practice, Splunk Cloud Platform performance issues often stem from unoptimized search behavior, concurrency contention, and cron schedule misalignment, not backend infrastructure limits.

This article shows you how to use the Cloud Monitoring Console (CMC) as an active diagnostic tool, and how to pair it with automated workload management (WLM) rules. Together, they help you eliminate noisy neighbors, safeguard mission-critical security alerts, and keep your environment protected from recurring problems, with no backend command-line access required.

Prerequisites

  • You must have the sc_admin role to see workload pools and workload rules.
  • To configure workload management, you must have the list_workload_pools, list_workload_rules, edit_workload_rules, and select_workload_pools capabilities.

How to use Splunk software for this use case

Identify whether search behavior or ingestion is the bottleneck

Most administrators treat the CMC as a passive health-check board. When the Splunk Technical Assistance Center (TAC) investigates critical escalations, it uses the CMC as a diagnostic tool to answer one core question: Is the bottleneck driven by unoptimized search behavior, or is it an ingestion or queue constraint?

Use this table to match what you observe to the likely bottleneck and the CMC page to start with. For the key performance indicators to monitor and the searches behind them, see Using the Splunk Cloud Monitoring Console effectively.

Observed symptom Underlying bottleneck Primary CMC triage path
Dashboards spinning or timing out Heavy ad hoc search contention on search heads CMC > License Usage > Workload > Resource Metrics Panel > Memory & CPU Utilization
Critical scheduled alerts skipping Search concurrency limits breached at peak cron times CMC > Search > Skipped Scheduled Searches
Logs showing up 45 minutes late Ingestion pipeline queue blockage or parsing delay CMC > Indexing > Indexing Performance & Indexers: blocked queues by queue type
Search head UI completely frozen Memory exhaustion or runaway search execution CMC > Health > High Memory Searches

Investigate performance problems with the CMC

Work through these four steps from the top down.

Step 1: Establish performance baselines (last 7 to 30 days)

  • Navigate to CMC > License Usage > Workload to evaluate normal 7-day and 30-day resource envelopes.
  • Establish baseline CPU and memory consumption per search head and indexer tier to detect anomalies.

Step 2: Hunt high-memory runaway searches through audit logs

  1. Navigate to CMC > Health > Data search > High memory searches. Filter by instance, for example Splunk Enterprise Security or Splunk IT Service Intelligence.
  2. Extract the search ID (SID) from the search_id field of offending searches that consume more than 10% of instance memory.
  3. Run the audit search in the Splunk platform:
    index=_audit action=search info=granted search_id="<search_id>"
    | table _time, user, app, search, total_run_time
    

Step 3: Drill down into high-CPU searches through attribution hierarchies

  1. Navigate to CMC > License Usage > Workload > Resource metrics panel > High CPU Utilization. Enable Attribution Graphs.
  2. Apply the TAC drill-down hierarchy: split by search type (ad hoc versus scheduled), then by search head, then by app, then by user.
  3. Pinpoint the exact user and search generating wildcard searches that don't filter by index, for example index=* error.

The CPU utilization chart includes an Attribution graphs toggle that splits CPU use by search type, search head, app, or user.

Line chart of CPU utilization in the Cloud Monitoring Console with the Show thresholds and Attribution graphs toggles turned on. Critical and Elevated threshold lines sit at 80% and 60%, and CPU utilization spikes to about 100% on two dates.

Step 4: Resolve skipped searches and search concurrency deadlocks

  • Navigate to CMC > Search > Skipped Scheduled Searches. Group by reason (% Maximum number of concurrent running jobs).
  • Audit role-based search concurrency limits per search head role using the REST API:
    | rest /services/authorization/roles
    | table title, srchJobsQuota, srchDiskQuota
    
  • Use the tstats command to monitor search concurrency against your per-host concurrency limit. For a search head cluster (SHC) with three members, the overall search concurrency limit is divided by three for each individual search head. The result from the REST API is the HOST_SC_Limit number.
    | tstats dc(data.search_props.sid) AS distinct_search_count
    WHERE index=_introspection
    sourcetype=splunk_resource_usage
    component=PerProcess
    data.search_props.role=head
    data.search_props.sid=*
    host=sh*.stackname.splunkcloud.com BY _time span=5m host
    | timechart span=5m avg(distinct_search_count) AS avg_search_concurrency BY host useother=false limit=0
    | eval HOST_SC_Limit=xx
    | eval avg_search_concurrency = round(avg_search_concurrency, 2)
    
  • Audit cron schedule congestion to eliminate the top-of-the-hour storm (*/5 * * * * or 0 * * * *). For more on why scheduled searches skip and how to reduce skips, see Reducing skipped searches.

Prevent recurrence with workload management

Manual troubleshooting resolves incidents, but workload management (WLM) prevents them from recurring.

WLM operates through three coordinated pillars:

WLM pillar Operational metaphor Enforcement mechanism and configuration
1. Admission rules The Bouncer Pre-filters and rejects wildcard searches that don't filter by index (for example, index=*) before they allocate compute resources.
2. Workload pools The Traffic Lanes Segments CPU and memory allocations into high_perf (critical Splunk Enterprise Security alerts), standard_perf (normal users), and limited_perf (background ad hoc searches).
3. Workload rules The Traffic Cop and Sniper Evaluates searches dynamically during runtime. Re-routes ad hoc searches running longer than 10 minutes to limited_perf, and aborts a search that exceeds 5 minutes of runtime between 8 AM and 12 PM on weekdays.

For general workload management practices, see Implementing best practices for workload management.

The Bouncer: admission rules (pre-execution filter)

Admission rules evaluate searches before execution begins. If a search matches the rule criteria, the Splunk platform applies the Filter search action. The search consumes no compute cycles, and the user receives a tailored notification.

Example 1: Wildcard mitigation

  • Predicate: index=* AND search_type=adhoc
  • Action: Filter search
  • User message: "Wildcard index searches over all-time are restricted. Please specify an index and narrow your time range."

Example 2: Concurrency capacity protection

  • Predicate: search_type=adhoc AND adhoc_search_percentage > 60
  • Action: Filter search
  • User message: "Ad-hoc search capacity currently exceeds 60%. Your search was filtered out to protect critical scheduled alerts. Please retry shortly."

The Traffic Cop: workload pools and throttling

Legitimate searches that pass admission rules are evaluated at runtime.

  • Predicate: search_type=adhoc AND runtime>10m AND NOT (role=sc_admin)
  • Action: Put in pool, limited_perf
  • User message: "Runtime exceeded 10 minutes. Search is moved to limited_perf workload pool"

The Sniper: workload rules for runtime abort

CPU spikes cause latency, and memory leaks cause total outages. To prevent runaway searches from running out of memory and triggering the Linux kernel OOM killer and crashing splunkd:

  • Predicate: search_type=adhoc AND runtime>5m AND NOT (role=sc_admin)
  • Action: Abort search
  • Schedule: Between 8:00 and 12:00, on weekdays. The schedule time for a workload rule is based on the system time zone, regardless of the time zone set for an individual user in the UI.
  • User message: "Search with runtime exceeding 5 minutes is aborted 8AM-12PM on weekdays. Optimize your search or use a smaller time range."

Rule ordering logic: the firewall access control list (ACL) model

The Splunk platform evaluates workload rules top-down using first-match-wins logic:

  • Order 1 to 3 (VIPs and immediate filters): Administrative bypasses (role=sc_admin) and hard admission rule filters.
  • Order 4 to 6 (the Snipers): Runtime abort rules (runtime limits during specific dates and times).
  • Order 7 and later (the Traffic Cops): Broad routing rules that place standard ad hoc or scheduled searches into their respective pools.

Validate rule enforcement in the CMC

To confirm your rules are being enforced:

  1. In the CMC, navigate to Workload Management Monitoring.
  2. Review the Searches Placed, Searches Filtered, and Searches Aborted panels.
  3. Validate the filtered and aborted searches.

Keep monitoring and enforcement running

Use this four-stage continuous resilience lifecycle to keep your environment healthy:

  1. Monitor (weekly): Review CMC resource utilization weekly to establish rolling 7-day or 30-day baselines.
  2. Troubleshoot (immediate): Identify performance bottlenecks and isolate the root cause in the CMC.
  3. Automated WLM throttling (simultaneous): Enforce admission rules and runtime workload rules to contain noisy neighbor impact.
  4. Review (continuous): Validate enforcement in CMC > Workload Management Monitoring to verify filtered and aborted searches.

The golden rule of support engineering remains constant: "You cannot optimize what you do not monitor."

Next steps

You might find the following resources useful for implementing the guidance in this article: