Example 2: SMTP and FILE Action

<< Click to Display Table of Contents >>

Navigation:  Additional Tips and Resources > Examples & Templates > Filter & Target Examples >

Example 2: SMTP and FILE Action

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

 

1. Add a FILE Action

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

 

clip0214

 

2. Add an SMTP Action

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

 

clip0207

 

The "Installed Actions" list should look like this:

clip0215

3. Add an Include Filter for the HTML Action

This filter will log all event log messages from the Application event log to the action HTML Action.

 

clip0216

 

4. Add an Include Filter for the SMTP Action

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

 

clip0210

 

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

 

clip0217