SPLK-1001 Basic Searching and Transforming Commands Practice Question
Exhibit
index=main sourcetype=apache | timechart count by host span=1h | where count > 100
Refer to the exhibit. A user gets an error: 'Error in 'where' command: The field 'count' is not a numeric type.' What is the issue?
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 'timechart' command creates multiple 'count' fields for each host, so 'count' is not a single numeric field
When using `timechart count by host`, Splunk creates separate count fields for each host, such as `count: host1`, `count: host2`. Therefore, the field `count` alone is not a single numeric field; it is ambiguous or multivalued. The `where` command requires a single numeric field, so it fails with the error that `count` is not a numeric type.
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 syntax should be 'where count > "100"'
Why it's wrong here
That would treat it as string comparison.
- ✗
The 'count' field is a string type
Why it's wrong here
It is numeric.
- ✓
The 'timechart' command creates multiple 'count' fields for each host, so 'count' is not a single numeric field
Why this is correct
Correct: timechart by host creates separate count series for each host, and where can't handle that.
- ✗
The 'where' command should be placed before 'timechart'
Why it's wrong here
That would filter events before aggregation.
Go deeper
Related to this question
About these practice questions
One of 502 original SPLK-1001 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-1001 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-1001 exam.