reasons for using the GeoIP module (why): Requests are forwarded to customers in different cities for the needs of the project, eg:When Tianjin User A visited www.XXXX.com, Nginx forwarded this request to the Tianjin server and the domain name of
The Nginx Access log we collected through Logstash already contains the data for the client IP (REMOTE_ADDR), but only this IP is not enough, the location of the Kibana to display the requested source needs to be implemented by GEOIP database. GeoIP
Awstats is a foreign open source of the website PV flow monitoring software, can obtain Apache or Nginx log information, the log useful information to integrate into the HTML page display, because the content of the analytic log is very meticulous,
Believe that have done awstats have used the open source Geoip.dat IP database, just nginx wiki on the GeoIP module, so that can achieve a regional load balance, but the Maxmind of IP database for China's support is not too good, but now is not bad ~
https://pypi.python.org/pypi/GeoIP/RequirementsPython 2.5+ or 3.3+GeoIP C Library 1.4.7 or greaterInstallationWith Pip:$ pip Install GeoIPFrom Source:$ python setup.py build$ python setup.py installDownload and install PythonA very important step is
Recently installed Nginx Geo module in the compilation of Nginx encountered an error, error information as follows:Checking for OpenSSL Library ... foundchecking for zlib library ... foundchecking for GeoIP library ... not foundchecking For GeoIP
Configure GeoIP in logstash to parse geographic information, logstashgeoip
The GeoIP database configured in logstash parses the ip address. Here, an open source ip data source is used to analyze the ip address of the client. The official website is
This is a creation in
Article, where the information may have evolved or changed. # # # RESTful interface * * Request url:**-' https://api.turboes.com/Tbsapi/v1/ip2addr?ip=219.140.227.235 ' * * Request method: **-GET * * Parameters: * * | parameter
I believe that awstats has used open source geoip. the dat ip database is just nginx wiki with the geoip module, which can achieve regional load balancing. However, maxmind's ip database does not support China very well, but it is also good now
Some extensions of PHP installed under Debian geoip,mongo,redis,libevent,proctitle,inotify,pcntl
Because of the relationship of the project, some new extensions need to be installed
Debian Xfce 7.2 x86 The following 3 are installed through Apt-get.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.