Courseiva
Using Fields and LookupseasyMultiple ChoiceObjective-mapped

SPLK-1001 Using Fields and Lookups Practice Question

A Splunk user wants to see a list of all fields that are extracted from events of sourcetype 'apache_access'. They need to know which fields are available for use in searches and lookups. Which command should they use to discover all fields automatically extracted by Splunk for that sourcetype?

⚠ Common exam trap

Many candidates confuse the `extract` command (which re-extracts fields) with the `fields` command (which lists field names), or they mistakenly think `inputlookup` can display event fields instead of lookup table columns.

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

Use the search 'sourcetype=apache_access | fields' to list all fields in a few sample events

The `| fields` command, when used without arguments, lists all fields present in the search results. By searching `sourcetype=apache_access` and piping to `| fields`, Splunk returns a table of all extracted fields (both default and custom) from the events of that sourcetype, allowing the user to see which fields are available for searches and lookups.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use the search 'sourcetype=apache_access | fields' to list all fields in a few sample events

    Why this is correct

    Running a search and using 'fields' command shows all fields present in the results.

  • Use the 'extract' command with no arguments to show all extracted fields

    Why it's wrong here

    extract is used for custom field extraction, not to list existing fields.

  • Use the 'regex' command with a capturing group to identify fields

    Why it's wrong here

    regex is not used to list fields.

  • Use the 'inputlookup' command to display field names

    Why it's wrong here

    inputlookup is for viewing lookup tables, not event fields.

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 →

How Courseiva writes practice questions · Editorial policy

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.