Example 2: SMTP and FILE Target

Top  Previous  Next

This example will log all event log entries from the Application event log to a FILE target and, in addition, be notified of important events through a SMTP target.

 

1. Add a FILE Target

All filters that are going to use this target will log event log entries to the file d:\eventsentry\eventsentry_application.html.

 

clip0051

 

2. Add an SMTP Target

All filters that are going to use this target will send event log entries through the mailserver mail.netikus.net sent from eventsentry@netikus.net to eventsentry@netikus.net.

 

clip0009

 

The "Installed Targets" list should look like this:

clip0052

3. Add an Include Filter for the XHTML Target

This filter will log all event log messages from the Application event log to the target XHTML Target.

 

clip0053

 

4. Add an Include Filter for the SMTP Target

This filter will log Warning, Error and Audit Failure event log messages from the Application, Security and System event log to the target SMTP Target.

 

clip0047

 

After installing the three filters above the Installed Filters list should look like this:

 

clip0054