Fixed minor issue with the country.name tag
This commit is contained in:
parent
9b807db0c0
commit
4eb5c68db7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue