Skip to content

LeviBorodenko/Logation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logation [NGINX]

Analyse your NGINX access logs and create beautiful maps of the locations from which people access your service.

result


Build Status

How to use

First of all, make sure you have python3.x and geolite2 installed. The later can be installed via pip with pip install maxminddb-geolite2 python-geoip-geolite2.

Then simply clone this repository, put a copy of your NGINX access.log in the ./rawData/ folder and run Logation.py.

The map can then be found at ./map/map.html.

The ./cleanData/ folder contains the .json and .txt files with the geolocations of all unique ips and some other statistics (like what OS has been used etc.).

On an ordinary laptop 100mb of access.log size takes about 30s to analyse.

About

Analyse your NGINX access logs and create beautiful maps of the locations from which people access your service.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published