SPLK-1001 Basic Searching and Transforming Commands Practice Question
Exhibit
index=web sourcetype=access_combined | top limit=10 uri_path
Refer to the exhibit. An analyst wants to see the top 10 most visited URI paths, but the result also includes a 'percent' column. To remove the percent column, which command should be added?
⚠ Common exam trap
Many candidates confuse removing a field with hiding it or setting it to null, leading them to choose `eval percent=null()` or `rename percent as ""` instead of using the explicit `fields -` syntax for field removal.
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
✓
| fields - percent
The `fields` command with a minus sign removes specified fields from the results. Since the question asks to remove the 'percent' column, `| fields - percent` is the correct and most direct way to drop that field while keeping all other fields intact.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
| table uri_path count
Why it's wrong here
Removes percent but also other fields that might be present; not as targeted.
- ✗
| eval percent=null()
Why it's wrong here
Sets field to null but column remains.
- ✗
| rename percent as ""
Why it's wrong here
Renames to empty, but column still appears.
- ✓
| fields - percent
Why this is correct
Directly removes the percent field.
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.