How do I tell splunk to tail a directory but not recurse into any subdirectories? Blacklisting all the subdirectories won\'t work because new subdirectories may appear without warning.
If you know the specific directory you want to monitor you should be able you a white list.
View solution in original post
under inputs.conf definition.