From 10dd1f193d1f3c3edacd4e7c2c8736bde9a28b34 Mon Sep 17 00:00:00 2001 From: Eric Loyd Date: Thu, 27 Feb 2025 08:29:27 -0500 Subject: [PATCH] Added wildcards to nlog --- nlog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nlog b/nlog index 72406bf..1991fe2 100755 --- a/nlog +++ b/nlog @@ -119,7 +119,7 @@ fi timeSub="" [ -z "$noTime" ] && timeSub="&& sub (/^\[[0-9]{10}]/, strftime (\"%Y-%m-%d %H:%M:%S\", substr (\$1, 2, 10)), \$1)" -awkString="/^\[[0-9]{10}] (GLOBAL |CURRENT )?$aSource (DOWNTIME |FLAPPING )?$aType: .*$host.*$service/" +awkString="/^\[[0-9]{10}] (GLOBAL |CURRENT )?$aSource[^ ]* (DOWNTIME |FLAPPING )?$aType[^:]*: .*$host.*$service/" [ -n "$raw" ] && awkString="/./" do_debug "host=$host" do_debug "service=$service"