SPLK-1002 Advanced Visualization and Lookups Practice Question
An analyst wants to create a visualization showing the average response time by hour over the past day, with each server in a separate line. Which command should they use?
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
✓
`... | timechart span=1h avg(response_time) by server`
It uses `timechart` with a span of 1 hour to create a time-based chart, averaging response time and splitting by server, resulting in separate lines per server over the past day. Option B is incorrect because omitting `span=1h` means Splunk may use a default span that might not be exactly one hour, and the request specifically required hourly intervals. Option C uses `chart` which is not time-based and would produce a non-time chart, not a line chart over time. Option D uses `stats` which outputs a tabular result, not a visualization.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
`... | timechart span=1h avg(response_time) by server`
Why this is correct
Correctly uses timechart with 1-hour intervals and splits by server.
- ✗
`... | timechart avg(response_time) by server`
Why it's wrong here
timechart works but omitting span may produce unintended intervals; explicit span is better practice.
- ✗
`... | chart avg(response_time) by hour, server`
Why it's wrong here
chart without time creates a static chart, not a time series.
- ✗
`... | stats avg(response_time) by hour, server`
Why it's wrong here
stats produces a statistical table, not a time-based chart.
Go deeper
Related to this question
About these practice questions
One of 475 original SPLK-1002 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.