Buy to unlock all questions, full reading mode and PDFs.
About this question bank
Questions
69 in total
Free to try
20 questions (no sign-up)
Exam domains
6 domains
Price
JPY 1,500 (≈ US$10; shown in your local currency at checkout) · one-time payment · 3 months
PDF
Japanese–English · Chinese–English · Korean–English · English (for buyers)
Data version
2026-11
About this exam
SPLK-1004 is the exam code for Splunk Core Certified Advanced Power User, the level above Core Certified Power User. The itmoshi list labels it Power User, but the actual exam is Advanced Power User. It covers advanced searching and reporting commands, advanced use of knowledge objects, and best practices for building dashboards and forms.
Try a sample question
This is an original sample question written by itmoshi based on the exam objectives.
As shown in the exhibit, each order is one event, and the items array holds several products. After the base search, order_id is the only field extracted from the order payload; sku and qty are not extracted and exist only inside the items array of the complete JSON that remains in _raw. After the base search, you need the correct total quantity sold for each product (sku). Which SPL should follow the base search?
Exhibit
Sample event (index=shop sourcetype=orders:json, one event per order):
{"order_id": "O-1001",
"items": [ {"sku": "A1", "qty": 2},
{"sku": "B7", "qty": 5} ]}
Base search:
index=shop sourcetype=orders:json
Fields extracted from the order payload after the base search: order_id
(sku and qty are NOT extracted; _raw still contains the complete JSON,
so they exist only inside the items array in _raw)
A| spath path=items{}.sku output=sku | spath path=items{}.qty output=qty | stats sum(qty) AS total_qty BY sku
B| spath path=items{} output=item | mvexpand item | stats sum(qty) AS total_qty BY sku
C| spath path=items{}.qty output=qty | stats sum(qty) AS total_qty BY order_id
D| spath path=items{} output=item | mvexpand item | spath input=item | stats sum(qty) AS total_qty BY sku
Show answer and explanation
Answer:D Expand the array into one row per element, then parse each element's JSON with spath input=.
Why it is correct
spath path=items{} output=item extracts each array element (a JSON string like {"sku":..., "qty":...}) into the multivalue field item. mvexpand item splits the event into one result row per element, so each row holds exactly one product. spath input=item then extracts sku and qty from that row, keeping each sku paired with its own qty, and stats can sum correctly: A1 = 2 and B7 = 5 for the sample event.
The other options
✗ A sku and qty become separate multivalue fields, so stats credits every sku in an event with the sum of all qty values in that event. In the sample, both A1 and B7 would get 7. It only works if the array always has a single element.
✗ B After mvexpand, item is still a raw JSON string; no sku or qty fields have been extracted, so BY sku has nothing to group on and returns no results. It is missing spath input=item.
✗ C This totals quantity per order (order_id), not per product. Use it when you want the number of units in each order.
Key takeaway
To aggregate while keeping fields inside each array element paired → extract whole elements (spath path=X{}) → mvexpand → re-parse with spath input=. Extracting each field as its own multivalue field loses the pairing between them.