SPLK-1001 Using Fields and Lookups Practice Question
Exhibit
Refer to the exhibit. props.conf: [apache_error] FIELDALIAS-error_code = error_id AS error_code Transforms.conf: [error_code_lookup] filename = error_codes.csv Search: index=web sourcetype=apache_error | lookup error_code_lookup error_id OUTPUT error_description The search returns no results from the lookup. What is the most likely issue?
Refer to the exhibit. The search returns no results from the lookup. What is the most likely issue?
⚠ Common exam trap
Splunk often tests the interaction between FIELDALIAS and lookup commands, trapping candidates who assume the original field name remains available after aliasing.
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 lookup command references 'error_id' but the alias changed the field to 'error_code'
The search uses `lookup error_codes.csv error_id` but the FIELDALIAS in props.conf has renamed the field `error_id` to `error_code`. Since the lookup command references the original field name `error_id`, which no longer exists in the events after alias processing, the lookup cannot match any values and returns no results.
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 FIELDALIAS syntax is incorrect
Why it's wrong here
FIELDALIAS syntax is correct.
- ✗
The lookup table is not defined in transforms.conf
Why it's wrong here
It is defined.
- ✗
The lookup file 'error_codes.csv' does not exist
Why it's wrong here
No indication of missing file.
- ✓
The lookup command references 'error_id' but the alias changed the field to 'error_code'
Why this is correct
The alias renames the field, so the lookup should match the new field name.
Go deeper
Related to this question
About these practice questions
This SPLK-1001 question is part of Courseiva's 502-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-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.