diff --git a/src/libexec/zmlogprocess b/src/libexec/zmlogprocess index 7ffce821..a5b1faac 100644 --- a/src/libexec/zmlogprocess +++ b/src/libexec/zmlogprocess @@ -224,7 +224,7 @@ sub run() { my $state = updateState(); open(LOG, "<$log_file") || die $!; - my $logregex = qr/(^.{15}) ((\d+\.\d+\.\d+\.\d+) \S+|(\S+)) ([^[]+)(\[(\d+)\])?: (.*)$/o; + my $logregex = qr/^(.{15}|\S+) ((\d+\.\d+\.\d+\.\d+) \S+|(\S+)) ([^[]+)(\[(\d+)\])?: (.*)$/o; my %host_data; my %host_qid_data; # hostname -> { qid -> { first, last } } init_counters(\%host_data);