Skip to content

Commit

Permalink
Update for new Wugen filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhys Smith committed Jun 23, 2018
1 parent fca94f2 commit a758e63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utilities/stats-generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -635,10 +635,10 @@ cdswayfcount=$(grep $apachesearchterm $logslocation/cds/shib-cds1/ssl_access_log
# =====

# Total WAYFless URLs generated
wugencount=$(grep $date $logslocation/wugen/urlgenerator-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) }')

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


# =====
Expand Down
1 change: 1 addition & 0 deletions utilities/stats-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ rsync -at --exclude modsec* stats@www-we-01:/var/log/httpd/* $logslocation/www/w
# Logs from Wugen
rsync -at --exclude modsec* stats@wugen:/var/log/httpd/* $logslocation/wugen/
rsync -at stats@wugen:/opt/wugen/logs/urlgenerator-* $logslocation/wugen/
rsync -at stats@wugen:/opt/wugen/logs/wayfless-* $logslocation/wugen/

# Logs from Test IdP
rsync -at --exclude modsec* stats@test-idp:/var/log/httpd/* $logslocation/test-idp/
Expand Down

0 comments on commit a758e63

Please sign in to comment.