allinurl / goaccess

GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
https://goaccess.io
MIT License
18.12k stars 1.1k forks source link

Add cities within countries in GeoLocation panel #750

Open mjmeyer opened 7 years ago

mjmeyer commented 7 years ago

Compiled goaccess v1.2 with: configure --enable-utf8 --enable-geoip=mmdb

Downloaded geopip db from http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz

Ran report using: goaccess -f access.log-20170406 --geoip-database=GeoLite2-City.mmdb -o report.html

The report has only two levels to the Geo-Location section: Continent and Country. Is it possible to get down to city as well?

allinurl commented 7 years ago

Currently the city is reported only in the hosts panel (per IP). Are you looking to add another panel that reports only cities as a top-level category?

mjmeyer commented 7 years ago

I suppose being in the Visitor Hostnames & IPs panel is ok. I didnt notice it there until you mentioned it.

Was expecting it to be in the Geolocation panel and visible when the corresponding country row was expanded...as is the case with being able to expand the continent rows to see the countries within.

Thanks!

allinurl commented 7 years ago

I can certainly look into adding cities within the corresponding country in the Geolocation panel. Please keep this open.

jlsjonas commented 5 years ago

Is there any update on this? Was expecting the same as OP

allinurl commented 5 years ago

@jlsjonas I'll bump this up. Thanks for the reminder!

alexreg commented 5 years ago

This would be super, thanks!

Ryesen commented 4 years ago

Is there any update on this?

allinurl commented 4 years ago

@Ryesen still on the works.

nitanmarcel commented 3 years ago

@allinurl is this on github? Like if I fork it and I build it I will be able to see?

I have a resume webpage on my website and I want to see how many people from my country visited the resume

allinurl commented 3 years ago

@nitanmarcel Are you looking for countries or cities? You should be able to get countries right now.