SPLK-1003 practice question 25 of 25

Using the CLI on the forwarder, how could the current forwarder to indexer configuration be viewed?

Full set: 188 questions
Answer options
A: splunk btool server list --debug
B: splunk list forward-indexer
C: splunk list forward-server Correct answer
D: splunk btool indexes list --debug
Correct Answer:
C. splunk list forward-server
Explanation

The Splunk command-line interface (CLI) provides commands to manage and view configurations. To see the list of configured receiving indexers (the forward-to-indexer configuration) on a forwarder, the correct command is splunk list forward-server. This command queries the forwarder's settings and displays the active output server configurations, showing which indexers the forwarder is set up to send data to.

Why Incorrect

A. splunk btool server list is not a valid command syntax for viewing output configurations. btool is used to inspect .conf files, but the syntax is incorrect.
B. The correct object name in the CLI command is forward-server, not forward-indexer.
D. splunk btool indexes list is used to view the configuration of indexes from indexes.conf, not the forwarder's output configuration.

References

- Splunk Enterprise Documentation. (2023). Forwarding Data, "Use the CLI to configure forwarding". This section explicitly lists splunk list forward-server as the command to "List the default group of receiving indexers."

- Splunk Enterprise Documentation. (2023). Admin Manual, "About the CLI". This manual provides an overview of CLI commands, including the list command for viewing configurations.

Scroll to Top