|
Event trigger - Event log |
Top Previous Next |
|
Certain type of events create a log entry with a certain category and/or message in a log file. A lot of Windows applications log events in the Event log. Some applications create their own log files and it is possible for you to create one or view events by the Windows application "Event viewer" which is found under Control Panel -> Administrative tools. This event trigger is based on WMI.
By default, Windows XP uses the following log files:
The Event log event watches for new log entries in one or more log files. You can choose what kind of conditions to use by first enabling the setting and then enter a value in the text window or select a value. When enabling a condition you can choose to use "AND" or "OR". Think of it's as a query.
Log file Probably you know what log file to look for. Select a specific log file or you may be flooded with Event log events from other log files.
Category id Each application (event source) can define its own numbered categories and the text strings to which they are mapped. The Event Viewer can use the category to filter events in the log. The categories must be numbered consecutively beginning with number 1.
Category This is a description of the numeric value, which could be, for example: "Kernel" or "Disk". Each application (event source) can define its own numbered categories and the text strings to which they are mapped. The text strings associated with the category are stored in the computer's registry. The Event Viewer can use the category to filter events in the log.
Event id Event code is a numeric value to further distinguish an entry.
Event type There exist some predefined event types which can be selected from the combo box. The predefined event types are:
Description contains The formatted, localized text for the message. This includes associated replacement strings. Enter a text that exists in a part of the description/message.
Source The event source indicates what initiated the event. It is often an application name or the name of a subcomponent of the application if the application is large. Applications and services usually write to (and therefore are sources for) the Application log or a custom log. Device drivers usually write to the System log. |