1. Describe your incident:
Messages processed by newly created pipeline no longer appear in any searches or streams.
2. Describe your environment:
- OS Information: Ubuntu 22 LTS
- Package Version: Graylog 5.0.5 single-node
3. What steps have you already taken to try and solve the problem?
-
Tested multiple messages in the simulator - all pass and show correct new fields.
-
Checked the Message Processor Configuration as per other forum posts:
-
Tried searching all streams / messages, cannot locate affected messages.
-
Disable the pipeline allows the messages to flow correctly, so is a pipeline related issue.
-
Have double checked all rules / connections in the pipeline.
-
Pipeline rule below:
rule "GeoIP lookup"
when
to_string($message.EventID) == "312"
then
let parsed = regex("(?:[0-9]{1,3}\\.){3}[0-9]{1,3}",to_string($message.full_message));
let geo = lookup("geoip-lookup", parsed["0"]);
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
4. How can the community help?
I need help correctly configuring the pipeline to set the new fields with the information i need.
EDIT:
The rule above is double back-slashed, but seems to remove that when i post