Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Remove old servers from Stats syncing
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhys Smith committed Apr 13, 2017
1 parent 3cf8dc7 commit d0785b4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions utilities/stats-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,18 @@ logslocation="/var/stats"
# Logs from API

# Logs from MD servers
rsync -at --exclude modsec* stats@md1:/var/log/httpd/* $logslocation/md/md1/
rsync -at --exclude modsec* stats@md2:/var/log/httpd/* $logslocation/md/md2/
rsync -at --exclude modsec* stats@md3:/var/log/httpd/* $logslocation/md/md3/
rsync -at --exclude modsec* stats@md-ne-01:/var/log/httpd/* $logslocation/md/md-ne-01/
rsync -at --exclude modsec* stats@md-ne-02:/var/log/httpd/* $logslocation/md/md-ne-02/
rsync -at --exclude modsec* stats@md-we-01:/var/log/httpd/* $logslocation/md/md-we-01/
rsync -at --exclude modsec* stats@md-we-02:/var/log/httpd/* $logslocation/md/md-we-02/

# Logs from CDS servers
rsync -at --exclude modsec* stats@shib-cds1:/var/log/httpd/* $logslocation/cds/shib-cds1/
rsync -at --exclude modsec* stats@shib-cds2:/var/log/httpd/* $logslocation/cds/shib-cds2/
rsync -at --exclude modsec* stats@shib-cds3:/var/log/httpd/* $logslocation/cds/shib-cds3/
rsync -at --exclude modsec* stats@shibcds-ne-01:/var/log/httpd/* $logslocation/cds/shibcds-ne-01/
rsync -at --exclude modsec* stats@shibcds-ne-02:/var/log/httpd/* $logslocation/cds/shibcds-ne-02/
rsync -at --exclude modsec* stats@shibcds-we-01:/var/log/httpd/* $logslocation/cds/shibcds-we-01/
rsync -at --exclude modsec* stats@shibcds-we-02:/var/log/httpd/* $logslocation/cds/shibcds-we-02/

# Logs from websites
rsync -at --exclude modsec* stats@web1:/var/log/httpd/* $logslocation/www/web1/
rsync -at --exclude modsec* stats@web2:/var/log/httpd/* $logslocation/www/web2/
rsync -at --exclude modsec* stats@www-ne-01:/var/log/httpd/* $logslocation/www/www-ne-01/
rsync -at --exclude modsec* stats@www-we-01:/var/log/httpd/* $logslocation/www/www-we-01/

Expand Down

0 comments on commit d0785b4

Please sign in to comment.