The following template produces one character fewer than expected. %HOSTNAME:R,ERE,1,FIELD,0:([^\.]+)--end%
If, for example, the HOSTNAME string is 192.168.1.1, then the output is "19". -- Jack. _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

