Navigation: Monitoring with EventSentry > Event Log Monitoring > Monitoring Custom Event Logs > Managing Custom Event Logs |
Custom event logs can be managed with the Manage Custom Event Logs dialog. To open this dialog click on
or click on
The dialog shows all custom event logs and, after clicking on a custom event log, their associated event sources:
The custom event log 3rd Party Applications has two associated event sources
Creating a Custom Event Log Type the name of the custom event log into the Custom Event Log Name field and click the Add button. A custom log file will automatically be created in %SYSTEMROOT%\SYSTEM32\CONFIG by the Operating System. After the custom event log is created you can assign event sources to this log.
Deleting a Custom Event Log To delete a custom event log select the log from the All configured custom event logs list and click the delete button. The log file itself can be moved or deleted manually from %SYSTEMROOT%\SYSTEM32\CONFIG directory after a reboot.
Associating an Event Source with a Custom Event Log Custom event logs will only work if you associate event sources with them. The associated event sources will then be written to the custom log file rather than to one of the default log files.
You can either associate
1. new event sources with the custom log (e.g. if you are developing a (web) application that will log to the event log) 2. assign existing event sources from another event log (e.g. Application)
1. New Event Sources If you intend to create new event sources then only the registry key
HKLM\System\CurrentControlSet\Services\Eventlog\YourCustomLog\YourNewSource
will be created. You will have to manually register a message file DLL if you intend to use one.
2. Existing Event Sources You can choose any of the already registered event sources and add them to the custom event log. EventSentry will copy the necessary registry information to the custom event log 1:1. This has the advantage of preserving the message file associations thus avoiding event viewer problems.
To create/assign an event source with a custom event log simply
Deleting an Event Source To delete or reassociate an event source with a default event log simply:
You will then have the opportunity to reassign the event source with one of the default event logs (Application, Security, ...)
|