ExamGecko
Question list
Search
Search

List of questions

Search

Question 14 - SPLK-1005 discussion

Report
Export

What Splunk command will allow an administrator to view the runtime configuration instructions for a monitored file in Inputs. cont on the forwarders?

A.

./splunk _internal call /services/data/input.3/filemonitor

Answers
A.

./splunk _internal call /services/data/input.3/filemonitor

B.

./splunk show config inputs.conf

Answers
B.

./splunk show config inputs.conf

C.

./splunk _internal rest /services/data/inputs/monitor

Answers
C.

./splunk _internal rest /services/data/inputs/monitor

D.

./splunk show config inputs

Answers
D.

./splunk show config inputs

Suggested answer: C

Explanation:

To view the runtime configuration instructions for a monitored file in inputs.conf on the forwarder, the correct command to use involves accessing the internal REST API that provides details on data inputs.

C . ./splunk _internal rest /services/data/inputs/monitor is the correct answer. This command uses Splunk's internal REST endpoint to retrieve information about monitored files, including their runtime configurations as defined in inputs.conf.

Splunk Documentation

Reference:

Splunk REST API - Data Inputs

asked 10/10/2024
Mohammad Wahid
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first