May 012017
 

This is another way to quickly analyze nginx logs.  It will spit out the top 25 ip’s, domains, requests and some other data.  You may need to change the array value to match the format of your nginx logs.

It uses perl so it is very fast and takes just seconds to analyze hundreds of thousands of lines in a log file.  It can also be used for apache too or other column whitespaced logs.

Continue reading »

blah….

 Uncategorized  No Responses »
Sep 132012
 
mysqldump –opt –add-drop-table -Q -u localuser –password=localpassword localdatabase | pigz -c | ssh -c blowfish remoteuser@remoteserver ‘gunzip -c | mysql -u remoteuser –password=remotepassword remotedatabase’