Skip to content

Commit

Permalink
Fix issue in stats generation for wugen
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhys Smith committed Oct 12, 2018
1 parent 67348d0 commit e49fb11
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.* | 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) }')
Expand Down

0 comments on commit e49fb11

Please sign in to comment.