Using ** in the “files” option of a Tail config file doesn’t seem to work, as advertised here:
These accept standard unix glob matching rules, but with the addition of
** as a “super asterisk”. ie:
“/var/log/**.log” -> recursively find all .log files in /var/log
“/var/log//.log” -> find all .log files with a parent dir in /var/log
When I have this in the config file:
files = ["/one/two/three/four/**.txt"]
(using .txt not .log)
then I get no data in InfluxDB, and something is making my app slow.
When I have this in the config file:
files = ["/one/two/three/four/*.txt"]
then everything is fine.