I would like to include the variable $msg into a omprog while calling a shell script but I cannot retrieve the real value:
if ($msg contains 'dummy') then {action(type="omprog" binary="/usr/bin/sh /home/test/myScript.sh $msg")}
is there a way to get this $msg content and share it to a shell script ?