Hi, we are trying to add geolocation plugin to our working Graylog server and followed guidelines but there is no messages received by pipeline, fields (country, city …) and map is not showing at all.
rule “GeoIP lookup: src_ip”
when
has_field(“src_ip”)
then
let geo = lookup(“geoip”, to_string($message.src_ip));
First check your lookup table, if it returns correct geoip field if you type some internet IP in Lookup Tables section?
I don’t see field src_ip in your example message screenshot.
Maps requires geoip fields with coordinates to be present by geoip lookup to show world map.
Check if you correctly setup your pipeline - assign pipeline rule to right stage (e.g. 0) and setup pipeline connection.
Try to debug pipeline rule with debug function, and check logs:
add line to your pipeline rule: debug(concat("Src_ip: ", to_string($message.src_ip)));
And then check graylog log four debug function output: sudo tail -f /var/log/graylog-server/server.log