From e49fb11c51854ce4a79790fec4c31ed17140fcd6 Mon Sep 17 00:00:00 2001 From: Rhys Smith Date: Fri, 12 Oct 2018 15:30:31 +0100 Subject: [PATCH] Fix issue in stats generation for wugen --- utilities/stats-generate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/stats-generate.sh b/utilities/stats-generate.sh index b671f9c0..da9c4463 100755 --- a/utilities/stats-generate.sh +++ b/utilities/stats-generate.sh @@ -636,7 +636,7 @@ cdswayfcount=$(grep -s $apachesearchterm $logslocation/cds/shib-cds1/ssl_access_ # Total WAYFless URLs generated #wugencount=$(grep $date $logslocation/wugen/urlgenerator-audit.* $logslocation/wugen/wayfless-url-generator-audit.* | wc -l | awk '{ printf ("%'"'"'d\n", $0) }') -wugencount=$(grep -s $date $logslocation/wugen/wayfless-url-generator-process.* | wc -l | awk '{ printf ("%'"'"'d\n", $0) }') +wugencount=$(grep -s $date $logslocation/wugen/wayfless-url-generator-process.* | grep "Generated wayfless URL" | wc -l | awk '{ printf ("%'"'"'d\n", $0) }') # New subscribers to WAYFless URLs wugennewsubs=$(grep -s $date $logslocation/wugen/urlgenerator-process.* $logslocation/wugen/wayfless-url-generator-process.* | grep "Subscribing user and service provider" | wc -l | awk '{ printf ("%'"'"'d\n", $0) }')