Weblee2407
Senior Member
I am trying to get the message "WAN(0)_Connection: WAN was restored." filtered using the code below.  I am pretty sure the parens "()" are the issue, but I haven't been able to escape them using "\" backslash.  I'm sure this is simple to the experienced developers that are members of this forum.
Thanks in advance.
#log custom monitoring entries to /opt/var/log/monitored.log only
destination d_monitored {
file("/opt/var/log/monitored.log");
};
filter f_monitored {
program("disk_monitor") or
message("WAN(0)_Connection: WAN was restored.") or
message("ubi0 error:") or
message("ubi0: dumping") or
message("drop_caches:")
};
log {
source(src);
filter(f_monitored);
destination(d_monitored);
flags(final);
};
#eof
				
			Thanks in advance.
#log custom monitoring entries to /opt/var/log/monitored.log only
destination d_monitored {
file("/opt/var/log/monitored.log");
};
filter f_monitored {
program("disk_monitor") or
message("WAN(0)_Connection: WAN was restored.") or
message("ubi0 error:") or
message("ubi0: dumping") or
message("drop_caches:")
};
log {
source(src);
filter(f_monitored);
destination(d_monitored);
flags(final);
};
#eof
 
	
 
 
		 
 
		 
 
		 
 
		 
 
		