Fixed minor issue with the country.name tag

This commit is contained in:
Alexey Nizhegolenko 2021-01-24 14:52:23 +02:00
parent 9b807db0c0
commit 4eb5c68db7

View file

@ -77,7 +77,7 @@ def logparse(LOGPATH, INFLUXHOST, INFLUXPORT, INFLUXDBDB, INFLUXUSER, INFLUXUSER
GEOHASH['geohash'] = HASH GEOHASH['geohash'] = HASH
GEOHASH['host'] = HOSTNAME GEOHASH['host'] = HOSTNAME
GEOHASH['country_code'] = INFO.country.iso_code GEOHASH['country_code'] = INFO.country.iso_code
GEOHASH['country_name'] = INFO.country.country.name GEOHASH['country_name'] = INFO.country.name
GEOHASH['city_name'] = INFO.city.name GEOHASH['city_name'] = INFO.city.name
IPS['tags'] = GEOHASH IPS['tags'] = GEOHASH
IPS['fields'] = COUNT IPS['fields'] = COUNT