Skip to content

Commit

Permalink
Fix stats generation for Wugen
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhys Smith committed Feb 17, 2019
1 parent 8417088 commit 0fdd30a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/stats-generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.* | grep "Generated wayfless URL" | wc -l | awk '{ printf ("%'"'"'d\n", $0) }')
wugencount=$(grep -s $date $logslocation/wugen/wayfless-url-generator-process.* | grep "Returning 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) }')
Expand Down

0 comments on commit 0fdd30a

Please sign in to comment.