Sample workload management test data

Use this topic as dummy content when you want realistic Splunk Enterprise examples for validating DITA structure, tables, and code blocks.

Overview

This topic provides sample content patterned after the workload management and search reference topics in this doc set. The examples are intentionally fictional, but they use familiar Splunk terminology, configuration names, and procedural phrasing so you can test authoring, rendering, and review workflows with realistic-looking data.

Note: All values, host names, pool names, and search strings in this topic are dummy data for documentation testing only.

Sample workload category allocations

Use the following example allocations when you want a simple dataset for tables and configuration snippets.

Category Example pool CPU Weight Memory Limit %
search interactive_search_pool 60 50
ingest primary_ingest_pool 30 35
misc background_tasks_pool 10 15

Sample CLI workflow

The following example shows a dummy CLI workflow for validating code blocks and command formatting.

CODE
./splunk check workload-config
./splunk add workload-pool interactive_search_pool -category search -cpu_weight 60 -mem_weight 50 -default_category_pool true
./splunk add workload-pool primary_ingest_pool -category ingest -cpu_weight 100 -mem_weight 100 -default_category_pool true

A sample response might look like this:

CODE
Workload Management Preflight Checks passed.
Created workload pool: interactive_search_pool
Created workload pool: primary_ingest_pool
Updated workload_pools.conf successfully.

Sample configuration output

This configuration fragment is dummy data modeled after the workload management examples in the surrounding documentation.

CODE
[general]
default_pool = interactive_search_pool
ingest_pool = primary_ingest_pool
enabled = 1

[workload_category:search]
cpu_weight = 60
mem_weight = 50

[workload_category:ingest]
cpu_weight = 30
mem_weight = 35

[workload_category:misc]
cpu_weight = 10
mem_weight = 15

[workload_pool:interactive_search_pool]
cpu_weight = 60
mem_weight = 50
category = search
default_category_pool = 1

[workload_pool:primary_ingest_pool]
cpu_weight = 100
mem_weight = 100
category = ingest
default_category_pool = 1

[workload_pool:background_tasks_pool]
cpu_weight = 100
mem_weight = 100
category = misc
default_category_pool = 1

Sample search data for summary indexing

If you also want placeholder content similar to the search reference pages, use a simple fake search like the following:

index=_internal sourcetype=splunkd component=Metrics | stats count by host log_level | collect index=wm_summary_test

Example results:

host log_level count
splunk-lab-01 INFO 1842
splunk-lab-02 WARN 126
splunk-lab-03 ERROR 17