<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="Osso Notes">
<title></title></head>
<body>
<p>----- Original message -----
<br>> OK, from what Balazs writes below I guess it is not possible to
<br>> use the parserdb functionality on the "$HOST $PROGRAM" contents.
<br>>
<br>> Can someone confirm this is the case? If it can be done, a quick pointer
<br>> please.
<br>>
<br>> If it can not be done, but I want to, how can I do it?
<br>>
<br>> rewrite {
<br>>  set("$MSG" value("orig.message"));
<br>>  set("$HOST($PROGRAM)" value("MESSAGE"));
<br>> }
<br>> parser(pattern_host_program);
<br>> rewrite {
<br>>  set("$orig.message" value("MESSAGE"));
<br>>  set("" value("orig.message"));
<br>> }
<br>> parser(pattern_message);
<br>
<br>this one should work, except for one thing. Values with dots in their name has to be enclosed by braces.
<br>
<br>eg. ${orig.message}
<br>
<br>but I'd really add the template option, that's much easier.
<br>
<br>> ...
<br>> all of my filters, log statements etc.
<br>> </p>
</body>
</html>