Hi all,
I’m currently working on to get country full name from our cloudflare logs.
I used Lookup Tables with Data Adapter, GeoLite2-Country.mmdb . Log only show xx,us,sg,etc…
Thanks
Hi all,
I’m currently working on to get country full name from our cloudflare logs.
I used Lookup Tables with Data Adapter, GeoLite2-Country.mmdb . Log only show xx,us,sg,etc…
Thanks
Try to use pipeline rule and lines:
let geo = lookup(“geoip”, to_string($message.src_ip));
set_field(“src_ip_geo_country_name”, geo[“country”].names.en);
And check recent post how to setup GeoIP:
And also documentation:
https://docs.graylog.org/en/3.1/pages/geolocation.html
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.