exam questions

Exam SPLK-1005 All Questions

View all questions & answers for the SPLK-1005 exam

Exam SPLK-1005 topic 1 question 4 discussion

Actual exam question from Splunk's SPLK-1005
Question #: 4
Topic #: 1
[All SPLK-1005 Questions]

What syntax is required in inputs.conf to ingest data from files or directories?

  • A. A monitor stanza, sourcetype, and index is required to ingest data.
  • B. A monitor stanza, sourcetype, index, and host is required to ingest data.
  • C. A monitor stanza and sourcetype is required to ingest data.
  • D. Only the monitor stanza is required to ingest data.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
loopfastener
2 days, 3 hours ago
Selected Answer: D
D is correct. # The following configuration reads all the files in the directory /var/log. [monitor:///var/log] Nothing else is required.
upvoted 1 times
...
cagdaskarabag
2 weeks, 1 day ago
Selected Answer: A
A. A monitor stanza, sourcetype, and index is required to ingest data. In inputs.conf, the syntax for ingesting data from files or directories requires at least the following: Monitor stanza: Specifies the file or directory to monitor, e.g., [monitor:///path/to/file_or_directory]. Sourcetype: Defines the type of data being ingested, which helps Splunk parse and categorize the data. Index: Specifies where the ingested data will be stored within Splunk. While additional settings like host can be configured, they are optional and not mandatory for basic ingestion
upvoted 1 times
...
A10D21
4 weeks ago
D is incoreect, because only monitor stanza does not ingest data. monitor stanza along with index will ingest data. A is correct.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago