I am using the logmon probe and I am trying to save the line from the logfile that normally appears in the message of the alarm in to a variable, so that way I can do something like this in the "Messesage to send to send on match" field under the Watcher Rules tab:
Error occurred in Import Engine service : $message_from_logs
Hi, you should just have to create a variable called $message_from_logs. Set the "From" location to Character position 1 and the "To" position to End of Line. You can then reference that variable in the alarm message.
You might also like to check the post from today in the guides section, its a new section and I hope you can see it.
This explains how to use regex to capture groups for use as variables:
"Alarm Message: I can group message text with (regex) to (create) groups"
Within logmon you can then setup variables such as $1 and $mytext
$1 = regex
$mytext = create
Its all in the guide