From d0785b451e5503e8efce1737447310fd228e6e9a Mon Sep 17 00:00:00 2001 From: Rhys Smith Date: Thu, 13 Apr 2017 09:20:36 +0100 Subject: [PATCH] Remove old servers from Stats syncing --- utilities/stats-sync.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/utilities/stats-sync.sh b/utilities/stats-sync.sh index 81172ff9..774f5ddd 100755 --- a/utilities/stats-sync.sh +++ b/utilities/stats-sync.sh @@ -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/