Visualize where people access your server using requests from Apache/NGINX access log
git clone https://github.com/SarangMohaniraj/ServerHeatMap.git
pip install -r requirements.text
Make sure you install python-geoip-geolite2
and maxminddb-geolite2
. These allow you to get the longitude and latitude from the IP address.
Put a copy of your own access.log
or use publicly available datasets. Build time depends on file size.
Run python main.py
. There are two types of heat maps you can choose from.
plot(type="python") # opens in python
plot(type="folium") # opens a python server to display on a webpage