Skip to content

SarangMohaniraj/ServerHeatMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ServerHeatMap

Visualize where people access your server using requests from Apache/NGINX access log

access1.log

Getting Started

git clone https://github.com/SarangMohaniraj/ServerHeatMap.git

Installation

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.

Usage

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

About

Visualize where people access your server using requests from Apache/NGINX access log

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages