ExamGecko
Question list
Search
Search

List of questions

Search

Question 69 - SPLK-2002 discussion

Report
Export

When troubleshooting monitor inputs, which command checks the status of the tailed files?

A.

splunk cmd btool inputs list | tail

Answers
A.

splunk cmd btool inputs list | tail

B.

splunk cmd btool check inputs layer

Answers
B.

splunk cmd btool check inputs layer

C.

curl https://serverhost:8089/services/admin/inputstatus/TailingProcessor:FileStatus

Answers
C.

curl https://serverhost:8089/services/admin/inputstatus/TailingProcessor:FileStatus

D.

curl https://serverhost:8089/services/admin/inputstatus/TailingProcessor:Tailstatus

Answers
D.

curl https://serverhost:8089/services/admin/inputstatus/TailingProcessor:Tailstatus

Suggested answer: C

Explanation:

The curl https://serverhost:8089/services/admin/inputstatus/TailingProcessor:FileStatus command is used to check the status of the tailed files when troubleshooting monitor inputs. Monitor inputs are inputs that monitor files or directories for new data and send the data to Splunk for indexing. The TailingProcessor:FileStatus endpoint returns information about the files that are being monitored by the Tailing Processor, such as the file name, path, size, position, and status. The splunk cmd btool inputs list | tail command is used to list the inputs configurations from the inputs.conf file and pipe the output to the tail command. The splunk cmd btool check inputs layer command is used to check the inputs configurations for syntax errors and layering. The curl https://serverhost:8089/services/admin/inputstatus/TailingProcessor:Tailstatus command does not exist, and it is not a valid endpoint.

asked 13/11/2024
Thomaz Stepheson
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first