ratibor78 / geostat

GeoStat, Python script for parsing Nginx and Apache logs files and getting GEO data from incoming IP's.
MIT License
69 stars 20 forks source link

Add option to filter per site #17

Closed TehloWasTaken closed 2 years ago

TehloWasTaken commented 2 years ago

Right now it just throws all the logs into one dashboard with sorting per host, but if you're running multiple sites per host, there is no way to track any of that.

Is it an option to add sorting per site so that you can switch between multiple Nginx/Apache sites/virtual hosts?

ratibor78 commented 2 years ago

Hi, interesting, will check and try to add this possibility. Thanks for the idea.

ratibor78 commented 2 years ago

Hello @TehloWasTaken, I rewrite this program, and now it can parse more than one log file, so if you want to get GEO metrics from the different virtual hosts or websites from your server you just need to set up Nginx/Apache config with saving access.log for each site in a different file and then add them in settings.ini like website:/path/to/log.log separated with space.

ratibor78 commented 2 years ago

I'll close the issue now. Have a nice day !