Oh boy. So… I am guessing that you are stuck again? Simply reposting the message and nothing else makes me guess that … but I don’t know what you did… post what you did, what you found… what does your entire rule look like now with the debug function in it? Use the formatting tools to make it easy to read… Otherwise I have to spend my personal time guessing… or writing this up… before you post more… perhaps read through this:
Yes i only see the same output when enable debug mode in the pipeline.
Im running version 3.2.4 of graylog version
yes the regex match works tested it but still it wont replace.
i see the trace that its match in the pipeline and executed to, when i test it in simulator.
i only want to drop/replace the ip 10.10.10.10 in the message
the logmessage i tested on
<166>Dec 4 13:05:27 10.10.10.10 Firewall1 %ASA-6-302020: Built inbound ICMP connection for faddr 10.52.31.10/0 gaddr 10.52.134.6/0 laddr 10.52.134.6/0 type 11 code 0
Tested to change it like the example in doc.
rule "[CISCO] remove snat ip in message "
when
has_field(“message”) AND
contains(to_string($message.message), “10.10.10.10.”, true) OR
contains(to_string($message.message), “10.10.10.11”, true)
then