SPLK-1004 は Splunk Core Certified Advanced Power User の試験コードで、Core Certified Power User の上位に位置づけられる認定です。itmoshi の一覧では Power User と表記していますが、実際の試験は Advanced Power User です。高度な検索・レポートコマンド、ナレッジオブジェクトの応用、ダッシュボードとフォームの作成のベストプラクティスが問われます。
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