1. Splunk Enterprise
Search Reference
Version 9.2.1
"inputlookup" command.
Section: "Syntax" and "Usage". The documentation explicitly states
"The inputlookup command is a generating command... When a search starts with a generating command
the pipe | character is a prefix for the command." This confirms that | inputlookup is the correct syntax for viewing the contents of a lookup file.
2. Splunk Enterprise
Search Manual
Version 9.2.1
"About generating commands".
Section: "Types of commands". This section clarifies that generating commands
like inputlookup
are the first command in a search and create events or data structures from scratch. It reinforces that they do not require an initial dataset and are initiated with a pipe.
3. Splunk Enterprise
Search Reference
Version 9.2.1
"lookup" command.
Section: "Description". The documentation describes lookup as a command that "Adds field values from an external source." This confirms it is used for data enrichment
not for initially loading and viewing the lookup file's contents
making option A incorrect.