Aggregate Nginx access logs and combine them

Web VPS

I have multiple VPS servers running Nginx. All of them proxy cache content from the same origin so the file structure is the same everywhere.


My end goal is to get the total number of hits from all servers for the last 30 days for all files under a directory. Something like /files/project/* = 2000hits


What are your recommendations on the whole system?


I am looking into https://logentries.com to stream there my access logs, but not sure yet if I can do everything I need with that.


What do you think?





LowEndTalk http://ift.tt/1m20wdi Aggregate Nginx access logs and combine them Web vps hosting server Linux - Windows webvps.blogspot.com

Welcome Promo VPS