How to use wildcard on IM config file for YYMMDDN.log
Davin
I would like to know how to use the wildcard if the logs name file contains a date. # Monitor application log files<Input watchfile> Module im_file File 'C:\\Application\\log\\240220N.Log' Exec $Message = $raw_event; Exec if file_name() =~ /.*\\(.*)/ $SourceName = $1; SavePos TRUE Recursive TRUE</Input>Thank you