When configuring file and directory monitor inputs in inputs.conf, the following settings are valid:
1. host: Sets the host field for the input data.
2. index: Specifies the index where the data will be stored.
3. sourcetype: Defines the type of data for parsing and categorization.
4. _TCP_Routing: Specifies routing rules for forwarding data to specific indexers.
5. host_regex: Extracts the host field using a regular expression applied to the file path.
6. host_segment: Sets the host field based on a segment of the file path.
Why not the others?
• A: source_length is not a valid setting for file and directory monitor inputs.
• C: directory is not a valid setting; instead, you use [monitor://<path>] to specify directories or files.
• D: _UDP_Routing is not valid for file and directory monitoring; it applies to UDP inputs.
Thus, B includes all valid settings for file and directory monitoring in inputs.conf.
upvoted 2 times
...
Log in to ExamTopics
Sign in:
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.
cagdaskarabag
2 weeks, 1 day ago