Creating GeoIP dashboard

I am trying to create a dashboard for GeoIP. But not sure how dose it works. I have follow the documentation with this following website :

I would like to know how can it read by getting the location information. Currently I am using a private network from my ISP. So will it be possible for it to locate my location?

Base on the pipeline

rule "GeoIP lookup: src_ip" when has_field("src_ip") then let geo = lookup("geoip", to_string($message.src_ip)); set_field("src_ip_geo_location", geo["coordinates"]); set_field("src_ip_geo_country", geo["country"].iso_code); set_field("src_ip_geo_city", geo["city"].names.en); end

Should I change it to lookup to take the IP from gl2_remote_ip?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.