XYGATE Merged Audit Reference Manual

Table Of Contents
XYGATE Merged Audit
®
Reference Manual
Chapter 3. Configuring Filters and the FILTERS File
XYPRO Technology Corporation 73 Proprietary and Confidential
3.4.5 Filter Definition Example
!= This FILTER selects non-EMS audit records
FILTERDEFBEGIN $SYSLOGQ-ALL-EVENTS-EXCEPT-EMS
STATUS INACTIVE !$SYSLOGQ-ALL-EVENTS-EXCEPT-EMS
MOVER_BEGIN
MOVER_SELECT_BEGIN
PRODUCT NOTLIKE "(EMS|HLR)"
MOVER_SELECT_END
MOVER_END
DATA_BEGIN
DATA_SELECT_BEGIN
FILTERTYPE NOFILTER
DATA_SELECT_END
DATA_END
ACTION_BEGIN
!= ACTIONTYPE and Routing Information
!= for sending data via TCP/IP
^syslogq_common_config
!= Set of ALERTSTRINGS
#include \PROD.$SEC.XYGATEMA.SYSLOG1
ACTION_END
ACTION_BEGIN
ACTIONTYPE SETDATA
AUDIT.USER_DATA syslog-alert
ACTION_END
ACTIONCOLL_END
FILTERDEFEND
3.5 Node-Conditional Processing in the FILTERS File
The FILTERS file is shared by all the MOVERs in a particular XMA pathway. If
MOVERs in that pathway are running on remote nodes and pushing data to the
pathway nodes, you may wish to specify different TCP/IP processes or EMS collectors
for those remote. Or you may only wish to perform ACTIONs on events from some but
not all nodes.
To customize the FILTERS file parameters that are unique to a subset of NonStop
server nodes where audit data is being gathered via a single XMA pathway, use the
node conditional statements.
A node conditional statement is a query: “If the name of the current node on which this
MOVER is executing matches the node name or pattern specified, then include this
Filter, keyword, or selection criteria when processing audit records. If the node name
does not match, do not include this Filter, keyword, or selection criteria when
processing audit records.”
Syntax:
#IF @NODE <conditional operator> "<node name or pattern>"
… text to be included if condition is met
#ENDIF