In a Splunk monitor input, * matches exactly one path segment, while the recursive ... wildcard matches through one or more subdirectory levels. Thus, beneath /var/log/<one-directory>/bar/, both file/foo.txt and file/csv/foo.txt match. A direct .txt file under bar does not satisfy the recursive segment, and an extra directory before bar does not satisfy the single-segment * portion. Splunk documents the recursive wildcard as three literal periods (...), not the single Unicode ellipsis character (…).
Community Discussion