Skip to content

Commit

Permalink
Update stats generation script for new version of Wugen
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhys Smith committed Oct 12, 2018
1 parent 87dfacb commit 67348d0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions utilities/stats-generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -635,10 +635,11 @@ 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 $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) }')

# New subscribers to WAYFless URLs
wugennewsubs=$(grep $date $logslocation/wugen/urlgenerator-process.* $logslocation/wugen/wayfless-url-generator-process.* | grep "Subscribing user and service provider" | wc -l | awk '{ printf ("%'"'"'d\n", $0) }')
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 67348d0

Please sign in to comment.