SPLK-1002 Advanced Searching and Statistics Practice Question
Exhibit
index=web sourcetype=access_combined | timechart span=1h count by status | untable _time, status, count | eventstats sum(count) as total by _time | eval pct = round(count/total*100,2) | table _time, status, pct
Refer to the exhibit. What does the pct field represent?
⚠ Common exam trap
Many exam-takers confuse `pct` (per-bucket percentage) with a global percentage across the entire time range (Option B) or with a running total (Option A), because they overlook that `timechart` inherently groups data into time buckets and calculates percentages within each bucket, not over the whole search span.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The percentage of each status within each one-hour time bucket.
The `pct` field in the context of a time-based chart (e.g., `timechart count by status`) represents the percentage of each status value within each one-hour time bucket. This is calculated by dividing the count of a specific status in that bucket by the total count of all statuses in the same bucket, then multiplying by 100. Option C correctly identifies this per-bucket proportional breakdown.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The running total percentage of events over time.
Why it's wrong here
False: this search does not compute running totals.
- ✗
The percentage of each status across the entire time range.
Why it's wrong here
False: that would require no by clause in eventstats.
- ✓
The percentage of each status within each one-hour time bucket.
Why this is correct
Correct: eventstats sums by _time, so pct is per hour per status.
- ✗
The percentage of events for that status compared to the maximum count in that hour.
Why it's wrong here
False: no maximum computation is performed.
Go deeper
Related to this question
About these practice questions
This SPLK-1002 question is part of Courseiva's 475-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SPLK-1002 practice question is part of Courseiva's free Splunk certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SPLK-1002 exam.