[syslog-ng]"Macros"
Balazs Scheidler
bazsi@balabit.hu
Fri, 15 Dec 2000 09:40:21 +0100
Hi,
> I am trying to call external programs with syslog-ng and I would like to
> know if there's a complete list of macros (such as $PROGRAM, $HOST) out
> there somewhere. I have a piece of software that I want to trigger on
> certain conditions (host, type of message etc), and I would like to be able
> to pass these values as arguments in the program("...")-statement.
macros are available in file destinations only. your program can parse the
log message it receives on its stdin.
--
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
url: http://www.balabit.hu/pgpkey.txt