SPLK-1001 Using Fields and Lookups Practice Question
A Splunk user wants to see the list of fields that are defined in a lookup table named 'assets' without running a search. Which command should they use?
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
✓
| inputlookup assets
The `| inputlookup assets` command displays the contents of the lookup table named 'assets', including its fields, without needing to run a search. Option B (`| lookup assets`) is used to enrich search results with lookup data, not to view the table. Option C (`| stats values(*) as * by *`) computes statistics and does not show lookup fields. Option D (`| fields assets`) is invalid because `fields` is used to select or remove fields from search results, not to view lookup tables.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
| inputlookup assets
Why this is correct
inputlookup displays the contents of the lookup table, including field names.
- ✗
| lookup assets
Why it's wrong here
The lookup command is used to enrich events, not to view the table.
- ✗
| stats values(*) as * by *
Why it's wrong here
This does not show a lookup table directly.
- ✗
| fields assets
Why it's wrong here
The fields command lists fields in the current search results, not from a lookup.
Go deeper
Related to this question
About these practice questions
Courseiva writes every SPLK-1001 question from scratch — 502 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.