@type geoip
backend_library geoip2_c
# Set key name for the client ip address values
geoip_lookup_keys host
# Specify key name for the country_code values
country_code ${country.iso_code["host"]}
country_name ${country.names.en["host"]}
Last line should be (and not )
In Use cases section configuration example