I have a /dir that has both *gz files and *txt in it. I only want to add the couple hundred *.txt files. Splunk documents state I should be able to tail "add data input" using /dir/loc/*.txt and it will index all *.txt files found. Unfortunately it errors out and says dir can not be found. If I state ony tail /dir it works fine but then I will be burdened with all old data found in the *.txt AND *.gz files.
regards.