XYGATE Merged Audit Reference Manual

Table Of Contents
XYGATE Merged Audit
®
Reference Manual
Chapter 3. Configuring Filters and the FILTERS File
XYPRO Technology Corporation 72 Proprietary and Confidential
3.4.3 Defining a Block of Text
As an alternative to using the #INCLUDE option you may define a block of text within
the FILTERS file.
Syntax:
#DEFINE_BEGIN ^<variable name>
<text>
...
#DEFINE_END
Example:
#DEFINE_BEGIN ^EMAIL_COMMON_CONFIG
ACTIONTYPE MAIL
MAIL_SRV mail.server.com
Mail_IPPROCESS $ZTC0
MAIL_FROM xma@prod.com
MAIL_TO ops@company.com
#DEFINE_END
#DEFINE_BEGIN ^SYSLOGQ_COMMON_CONFIG
ACTIONTYPE SYSLOGQ
IPALERT_SET_ALERTED NO
#IF @NODE = "\PRDA"
IPALERT_IPPROCESS $ZTC0
#ENDIF
#IF @NODE = "\PRDB"
IPALERT_IPPROCESS $ZTCP2
#ENDIF
IPALERT_ADDRESS 127.1.1.12
IPALERT_PORT 514
IPALERT_MSGDELIMITER CR
IPALERT_PREFIX local0 <130> XYGATEMA
#DEFINE_END
3.4.4 General Processing Rules
Variable names are specified in the format ^<name>
Names can be 2- to 32-characters long, which includes the caret ( ^ ) symbol.
Names are not case sensitive.
Names cannot contain spaces.
Letters, numbers, dash and underscore are the only valid characters permitted.
Each variable name must be unique.
A variable name must be defined in the FILTERS file prior to its use. It is best to put it
near the top of the FILTERS file.
Variable Definitions #DEFINE and #DEFINE_BEGIN ... #DEFINE_END cannot be
placed within a Filter Definition.
Variable Definition #INCLUDE can be placed within a Filter Definition.