SPLK-1003 practice question 8 of 25

When configuring monitor inputs with whitelists or blacklists, what is the supported method of filtering the lists?

Full set: 188 questions
Answer options
A: Slash notation
B: Regular expression Correct answer
C: Irregular expression
D: Wildcard-only expression
Correct Answer:
B. Regular expression
Explanation

When setting up a [monitor://] input in inputs.conf, the whitelist and blacklist attributes are used to selectively include or exclude files for monitoring. The filtering mechanism for these attributes is a regular expression. Splunk uses the PCRE (Perl Compatible Regular Expressions) library, which allows for powerful and flexible pattern matching to define precisely which files should be monitored based on their names or paths.

Why Incorrect

A. Slash notation (CIDR notation) is used for defining IP address ranges, not for file path filtering in inputs.conf.
C. "Irregular expression" is not a standard term for a filtering method used within Splunk configurations.
D. While a regular expression can contain wildcards, the feature supports the full regular expression syntax, not just simple wildcards.

References

- Splunk Enterprise Documentation. (2023). Getting Data In, "inputs.conf". In the specification for [monitor://], the description for the whitelist parameter states: "The whitelist attribute is a regular expression." The same applies to the blacklist parameter.

Scroll to Top