From f1fce55d2c34520d76b6bc86a815377f1b8de8b6 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 19 May 2017 03:31:41 +0200 Subject: added encoding for geo-ip info --- doc/protocol.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc') diff --git a/doc/protocol.md b/doc/protocol.md index e960506..9c4718d 100644 --- a/doc/protocol.md +++ b/doc/protocol.md @@ -53,3 +53,15 @@ The start-time will be processesd and stored with millisecond precision. .... } } + +In addition to the user-agent string a client entry may have the following geo-info +fields (all of which might be omitted): + + "country" ......... the name of the country + "country-code2" ... the 2-letter country code + "region" .......... the name of the region + "region-code" ..... the 2-letter code for the region as defined by the + MaxMind GeoIP2 database + "city" ............ the name of the city + "latitude" ........ latitude in ° as float value + "longitude" ....... longitude in ° as float value -- cgit v1.2.3