इसके माध्यम से साझा किया गया


Display XML Format of a Custom View

Applies To: Windows Server 2008, Windows Vista

Custom Views are named filters that you can reuse between sessions of Event Viewer. Like other event log filters, a custom view has an XML-based representation. After creating a custom view using the Event Viewer user interface, you can then display and examine the XML that represents the underlying query. This is a convenient way to learn about the XML syntax.

To display the XML format underlying a custom view

  1. Start Event Viewer.

  2. In the console tree, navigate to and select the custom view.

  3. On the Action menu, click Properties.

  4. On the properties dialog, click Edit Filter.

  5. In the Custom View Properties dialog box, click the XML tab. The XML query for the custom view appears in the text box.

Additional Resources

Custom Views