for i in 057 058 134 135 ; do ssh -q app${i} 'echo ""; hostname;grep GET /data/app-logs/httpd-api-gw/access_log| grep "HTTP/1.1\" 404"| wc -l’;done
for i in 057 058 134 135 ; do ssh -q app${i} 'echo ""; hostname;grep GET /data/app-logs/httpd-api-gw/access_log| grep "HTTP/1.1\" 400"| wc -l’;done
for i in 057 058 134 135 ; do ssh -q app${i} 'echo ""; hostname;grep GET /data/app-logs/httpd-api-gw/access_log| grep "HTTP/1.1\" 200"| wc -l’;done
for i in 057 058 134 135 ; do ssh -q app${i} 'echo ""; hostname;grep GET /data/app-logs/httpd-api-gw/access_log| grep "HTTP/1.1\" 400" ' ;done > /var/tmp/isite2-content-reader.txt
####
cat ./isite2-content-reader-200.txt | cut -f6,7,8 -d " " |cut -f2 -d " "| head
### FOR A SPECIFIC DATE
# FULL
for i in $(cat /usr/local/serverlists/app.live.pool{1,18,23,25,26}) ; do ssh -q ${i} 'echo ""; hostname;zcat /data/app-logs/httpd-api-gw/access_log-20170101.gz|grep GET | grep "HTTP/1.1\" 200"';done > /var/tmp/contentapi-200-FULL.txt
# JUST GET
for i in $(cat /usr/local/serverlists/app.live.pool{1,18,23,25,26}) ; do ssh -q ${i} 'echo ""; hostname;zcat /data/app-logs/httpd-api-gw/access_log-20170101.gz|grep GET | grep "HTTP/1.1\" 200"|cut -f2 -d ""| cut -f6,7,8 -d " " |cut -f2 -d " "';done > /var/tmp/contentapi-200.txt