XYGATE Merged Audit Reference Manual

Table Of Contents
XYGATE Merged Audit
®
Reference Manual
Chapter 3. Configuring Filters and the FILTERS File
XYPRO Technology Corporation 49 Proprietary and Confidential
It is always easiest to start with an existing Filter that is similar to what you want to look
at. The default FILTERS and FILTSAMP files, created when you installed XMA,
contain useful examples to use as templates.
Example 1 below selects events based on the OPERATION. TELNET and LISTNER
events are available if you have an EMS MOVER configured to search for them.
Example 1: Select TELNET and LISTNER events
FILTERDEFBEGIN $TELNET-LISTNER
MOVER_BEGIN
MOVER_SELECT_BEGIN
PRODUCT = EMS
MOVER_SELECT_END
MOVER_END
DATA_BEGIN
DATA_SELECT_BEGIN
FILTERTYPE STRINGFILTER
AUDIT.OPERATION = TELNET-CONNECT
DATA_SELECT_END
! or
DATA_SELECT_BEGIN
FILTERTYPE STRINGFILTER
AUDIT.OPERATION = TELNET-DISCONNECT
DATA_SELECT_END
! or
DATA_SELECT_BEGIN
FILTERTYPE STRINGFILTER
AUDIT.OPERATION = LISTNER-CONNECT
DATA_SELECT_END
DATA_END
You could also use a regular expression that would allow you to combine the three
paragraphs into one:
FILTERDEFBEGIN $TELNET-LISTNER
MOVER_BEGIN
MOVER_SELECT_BEGIN
PRODUCT = EMS
MOVER_SELECT_END
MOVER_END
DATA_BEGIN
DATA_SELECT_BEGIN
FILTERTYPE STRINGFILTER
AUDIT.OPERATION LIKE "(LISTNER-CONNECT|TELNET-CONNECT|TELNET-DISCONNECT)"
DATA_SELECT_END
DATA_END
The default behavior of all the MOVERs other than the EMS MOVER, is to write every
record found in their product audit trails into the XMA database. So if you have an
empty FILTERS file, every audit record from every product with a MOVER (except
EMS) would simply add every record to the XMA database. The EMS MOVER does
not write anything to the database except what you tell it to by adding Filters.
Note: EMS MOVERs behave differently. Because of the huge volume of EMS
messages, no EMS audits will be written to the XMA database unless you
specify events in a Filter.