Hi, I managed to actually get it working after playing with it some more. Next question can I actually use the extracted data to overwrite the source field instead of creating a new field for it?
The source field will be there by defualt. I think you can maniply the dta in the source field with a pipeline. If not then yes you will need to create a new field. I think i have a pipeline for that somewhere, when i find it ill post it here.
EDIT: I do belive youll need to make a new field, the source field maybe hard coded.
here is an example.
rule "Attach NodID to Messages"
when
has_field("gl2_source_node") AND contains(to_string($message.gl2_source_node), "0e68c48b-29cc-4085-a2ca-bc700fcf82da")
then
set_field("node_name","graylog.domain.com");
end
Perhaps post what you have then what want and other here could help you.