Configuring Automatic Lookups in Splunk
Which TWO components must be configured to enable an automatic lookup that populates fields at index time?
Quick Answer
The answer is props.conf and transforms.conf. These two components must be configured to enable an automatic lookup that populates fields at index time because transforms.conf defines the actual lookup table and field mapping, while props.conf specifies the automatic lookup stanza for the sourcetype, telling Splunk which sourcetype should use that lookup automatically. On the Splunk Core Certified Power User SPLK-1003 exam, this distinction tests your understanding of the division of labor between configuration files: transforms.conf holds the lookup definition, and props.conf activates it for a given sourcetype. A common trap is assuming that fields.conf or macros.conf are involved, but they are not required for automatic lookups at index time. To remember, think of transforms.conf as the “what” (the lookup table and mapping) and props.conf as the “where” (which sourcetype triggers it automatically).
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
✓
transforms.conf to define the lookup table and the field mapping.
Options A and D are correct. transforms.conf defines the lookup table and field mapping, and props.conf specifies which sourcetype should use the lookup automatically at index time. Option B is incorrect because the lookup table file must be placed in the 'lookups' directory of the app, not 'lookup' (typo) and also the file placement is necessary but not sufficient for automatic lookup; configuration files are required. Option C is incorrect because indexes.conf is for index configuration, not lookups. Option E is incorrect because lookups can be defined via configuration files, not only via Splunk Web.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
transforms.conf to define the lookup table and the field mapping.
Why this is correct
The lookup definition (filename, fields, match type) is in transforms.conf.
- ✗
The lookup table file must be placed in the lookup directory of the app.
Why it's wrong here
While the file must be in the correct location, it is not a configuration file component.
- ✗
indexes.conf to enable lookup acceleration.
Why it's wrong here
indexes.conf configures indexes, not lookups.
- ✓
props.conf to specify the automatic lookup stanza for the sourcetype.
Why this is correct
props.conf invokes the lookup for a specific sourcetype with LOOKUP-<name>.
- ✗
The lookup must be defined via the Lookups menu in Splunk Web only.
Why it's wrong here
Lookups can be defined in transforms.conf or via UI; both work, but UI is not mandatory.
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 →
Same concept, more angles
3 more ways this is tested on SPLK-1002
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. An automatic lookup is configured in props.conf and transforms.conf, but the expected fields are not appearing in search results. Which is the first thing to verify?
medium- ✓ A.Verify the transforms.conf definition for the lookup
- B.Run a search using the lookup command manually to test
- C.Verify that the source field is extracted at search time
- D.Verify that the user has read permissions on the lookup table
Why A: The first step to troubleshoot an automatic lookup is to verify the transforms.conf definition, ensuring that the lookup table name, file path, and field mappings are correctly specified. Option B is incorrect because manually running the lookup command is a diagnostic step that comes after verifying the configuration. Option C is incorrect because the source field extraction is not directly related to automatic lookup functionality; the lookup is based on field values, not extraction. Option D is incorrect because read permissions on the lookup table would typically cause an error message, not a silent failure of fields appearing.
Variation 2. What is the purpose of an automatic lookup?
easy- A.To automatically validate lookup field names.
- B.To automatically update a lookup file when the CSV changes.
- C.To automatically create a lookup table from search results.
- ✓ D.To automatically apply a lookup to events based on a source type or index at search time.
Why D: An automatic lookup is configured in transforms.conf or props.conf to automatically apply a lookup table to events based on sourcetype or index at search time. This enriches events with additional fields without requiring the lookup command in the search. Option A is incorrect because automatic lookups do not validate field names; validation must be done separately. Option B describes the outputlookup command, which writes to a lookup file. Option C is incorrect because automatic lookups do not create tables from search results; that is done by the inputlookup or outputlookup commands. Option D correctly describes the purpose of an automatic lookup.
Variation 3. Which of the following is required to create a dynamic lookup that automatically updates from a CSV file?
easy- ✓ A.Define the lookup in transforms.conf and props.conf
- B.Use the lookup command in searches
- C.Upload the CSV to the lookups folder only
- D.Only define in transforms.conf
Why A: To create a dynamic lookup that automatically updates from a CSV file, you must define the lookup in both transforms.conf and props.conf. The transforms.conf defines the lookup table and its source file, while props.conf enables automatic lookup and associates it with the appropriate sourcetype. Simply uploading the CSV or defining only in transforms.conf is insufficient; using the lookup command in searches is not required for the automatic update mechanism.
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.