I have a small problem with webalizer. I use it to analyze logs of a small web server hosting a single site, and the only thing I am interested in from webalizer is the piechart diagram it produces about the geographic distribution of people visiting the site. However, the piechart it produces gives me a very crude information, with 50% or so of visitors belonging to "unresolved", some to .net, some to .com and some country-specific. For an example, you can take a look at http://sith.ipb.ac.rs/webal/usage_201103.html#TOPCTRYS I would like some more fine-grained diagram, at least in the "unresolved" part. Am I missing something, or is this really as good as it gets? I have the GeoIP and GeoIP-data packages installed, but they don't seem to do anything. I looked up the /etc/webalizer.conf file, but there seems to be no relevant settings to tweak. I've even read the webalizer man page ;-) , but failed to find anything related. Using google produced (among other things) this how-to: http://www.lifelinux.com/how-to-install-webalizer-on-centos/ but that is for CentOS 5.4, it is written by an unknown source and suggests I should recompile webalizer and GeoIP from source, which is not the "proper" way to do it, I guess. This is all on a freshly updated CentOS 5.6. :-) I'd appreciate any pointers. TIA, :-) Marko
>From webalizer.conf.sample# The GeoIP option enables or disables the use of geolocation # services provided by the GeoIP library (http://www.maxmind.com), #GeoIP no # GeoIPDatabase specifies an alternate database filename to use by the # GeoIP library. If an absolute path is not given as part of the name #GeoIPDatabase /usr/share/GeoIP/GeoIP.dat It works only, if it is compiled in, of course. I don't know if that is the case with the webalizer coming with CentOS. If the conf doesn't contain these comments it is probably not compiled in. Kai
On Sun, Apr 10, 2011 at 12:12 PM, Marko Vojinovic <vvmarko at gmail.com> wrote:> > I have a small problem with webalizer. I use it to analyze logs of a small web > server hosting a single site, and the only thing I am interested in from > webalizer is the piechart diagram it produces about the geographic > distribution of people visiting the site. > > However, the piechart it produces gives me a very crude information, with 50% > or so of visitors belonging to "unresolved", some to .net, some to .com and > some country-specific. For an example, you can take a look at > > ?http://sith.ipb.ac.rs/webal/usage_201103.html#TOPCTRYS > > I would like some more fine-grained diagram, at least in the "unresolved" part. > Am I missing something, or is this really as good as it gets? > > I have the GeoIP and GeoIP-data packages installed, but they don't seem to do > anything. I looked up the /etc/webalizer.conf file, but there seems to be no > relevant settings to tweak. I've even read the webalizer man page ;-) , but > failed to find anything related. Using google produced (among other things) > this how-to: > > ?http://www.lifelinux.com/how-to-install-webalizer-on-centos/ > > but that is for CentOS 5.4, it is written by an unknown source and suggests I > should recompile webalizer and GeoIP from source, which is not the "proper" > way to do it, I guess. > > This is all on a freshly updated CentOS 5.6. :-) I'd appreciate any pointers. > > TIA, :-) > Marko > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >Hi, You should use "awffull" from RPMforge. It's supposed to be compatible with webalizer and it uses geoip.