Le 2014-12-16 09:13, 苦咖啡 a écrit : > One of my syslog log path is generated based on the time format, > the dynamic changes every minute, how do I set this in the log path > in the fail2ban, fail2ban whether there is such a time parameter > > log path > /home/web_log/haproxy/access/$YEAR$MONTH$DAY$HOUR/JiangSu_WuXi_CTC_LOG_38.$YEAR$MONTH$DAY$HOUR$MIN"
Hi, I may be naive, but wouldn't this simply work ? /home/web_log/haproxy/access/*/JiangSu_WuXi_CTC_LOG_38.* ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Fail2ban-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fail2ban-users
