SPLK-1001 Using Fields and Lookups Practice Question
Exhibit
Refer to the exhibit. Search: `index=main sourcetype=syslog | eval match_field=src_ip | lookup application_map.csv match_field OUTPUTNEW app_name` Exhibit shows the lookup definition: [lookup_application_map] filename = application_map.csv match_type = WILDCARD(app_name)
Refer to the exhibit. The search is not returning the `app_name` field as expected. The lookup has many entries with wildcard patterns. What is the most likely issue?
⚠ Common exam trap
Splunk often tests the subtle difference between `OUTPUT` and `OUTPUTNEW` in lookups, and the trap here is that candidates assume `OUTPUTNEW` will always populate a field, not realizing it refuses to overwrite an existing field even if that field is null or empty.
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 uses OUTPUTNEW, but the event already has an app_name field (possibly null) so the lookup does not overwrite it.
The `OUTPUTNEW` clause in the `lookup` command only writes the field if it does not already exist in the event. If the event already contains an `app_name` field (even with a null value), the lookup will not overwrite it, so the expected value from the wildcard lookup is not returned. This is a common pitfall when using lookups with fields that may already be present in the data.
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 lookup definition uses WILDCARD match type, which is incompatible with the lookup command.
Why it's wrong here
WILDCARD is a valid match type and works with the lookup command.
- ✓
The lookup command uses OUTPUTNEW, but the event already has an app_name field (possibly null) so the lookup does not overwrite it.
Why this is correct
OUTPUTNEW only adds the field if it doesn't exist; if it exists empty, it remains empty.
- ✗
The eval statement should not rename src_ip; the lookup should directly use src_ip.
Why it's wrong here
Eval creates a new field match_field; that is fine.
- ✗
The lookup command needs the option max_matches=1 to work with wildcards.
Why it's wrong here
Wildcards do not require max_matches; it's for multiple matches.
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.