Creating a Data Collector Set
You create a DCS by using a wizard or a preconfigured XML template. The data can be a single performance log, event trace, or system configuration data set, or any combination of the three. You can also configure Performance Counter Alerts from this interface.
To create a new DCS, follow these steps:
- Open the Performance Monitor snap-in and select the User Defined node beneath the Data Collector Sets node.
- Right-click the User Defined node, select New, and then select Data Collector Set to start the Create New Data Collector Set wizard.
- Provide a name for the data collector set and choose to create from a template or create manually by following the remaining steps of the wizard.
When you create a new DCS, it is simplest to use the Create From A Template option in the Create New Data Collector Set wizard. You can create templates for common monitoring scenarios and use them to quickly configure and start a new logging session using the template settings. The templates are in XML format; all settings for the DCS are specified in the template. There are three preconfigured templates for creating a new DCS:
- Basic
- System Diagnostics
- System Performance
You can also export a DCS as a template that can be modified and imported to create a new DCS. To export a DCS configuration XML file, right-click the DCS name under the Data Collector Sets node in Performance Monitor and select Save Template. The template files are not saved to a template store; you must import them each time you use them. You can save the XML template files to any folder to which you have access.
Generally, a template is exported from a manually configured DCS. After you export the DCS template, you can edit the template to customize it for particular scenarios (different computer, different folder, and so on). After you have exported the template, you can import it into the DCS by selecting Create From A Template in the Create New Data Collector Set wizard and browsing to the location of the XML file.
Note Performance Monitor no longer installs a default System Overview log as it did in Windows XP and earlier versions. However, it does provide a System Diagnostics Data Collector Set template.
To manually create a DCS, follow these steps:
- In the Create New Data Collector Set wizard, select Create Manually and then click Next.
- Select the desired data collector(s) and then click Next.
- Select the performance counters, if any, that will be collected in the data collector and then click Next.
- Select the event trace providers, if any, that will be used and then click Next.
- Select registry keys to be monitored, if any, and then click Next.
- Choose the path to the DCS and then click Next. All of the data files for the DCS will use this path and will share the parent folder that you specify. The default path for saving data collector sets is %SystemDrive%\PerfLogs\Admin\DCS_name.
- Click Change and then select the user account that will run this DCS.
- Before completing the wizard, you can select options to open the properties of the data set when completing the wizard and start the data collection immediately after completing the wizard.
- Click Finish to display the DCS in the Reliability And Performance Monitor. You can view the status of all of the configured DCSs by selecting the desired parent node under the Data Collector Sets node.
- To view the data collector(s) contained within a DCS in the Reliability And Performance Monitor, expand the User Defined node in the left pane. Then, either click the DCS name under the User Defined node or double-click the DCS name if it appears in the right pane.
To start the DCS, click the DCS name to highlight it and either click the green arrow on the toolbar to start logging or right-click the DCS name and then select Start from the shortcut menu.
In this tutorial:
- Windows 7 Desktop Maintenance
- Performance Monitoring
- Improvements to Performance Monitoring in Windows 7
- Using Performance Monitor
- Real-Time Performance Monitoring
- Performance Monitor Logging
- Creating a Data Collector Set
- Configuring a Data Collector Set
- Using Data Manager to View Performance Data
- Starting and Stopping Data Logging
- Viewing Performance Data
- Comparing Performance Monitor Logs
- Performance Monitor User Rights
- Remote Data Collection
- Using Windows PowerShell for Performance Monitoring
- Resource Monitor
- Overview Tab
- CPU Tab
- Memory Tab
- Disk Tab
- Network Tab
- Reliability Monitor
- How Reliability Monitor Works
- Windows Performance Tools Kit
- Event Monitoring
- Understanding the Windows Event Architecture
- Channels
- Improvements to Event Monitoring in Windows 7
- Using Event Viewer
- Understanding Views
- Viewing Event Logs
- Saving Event Logs
- Configuring Event Subscriptions
- Considerations for Workgroup Environments
- Creating a New Subscription
- Using the Windows Events Command-Line Utility for Event Monitoring
- Using Windows PowerShell for Event Monitoring
- Using Task Scheduler
- Improvements to Task Scheduler in Windows 7
- Understanding Tasks
- Understanding the Task Scheduler Architecture
- Understanding Task Scheduler Security
- Credentials Management
- Securing Running Tasks
- Understanding AT and Task Scheduler v1.0 Compatibility Modes
- Understanding the Task Scheduler Snap-in
- Understanding Default Tasks
- Creating Tasks
- Defining Triggers
- At Startup Trigger
- On Connection To AND Disconnect From User Session Triggers
- On Workstation Lock AND Unlock Triggers
- Defining Actions
- Defining Conditions
- Defining Settings
- Managing Tasks
- Viewing History
- Using SchTasks.exe for Creating and Managing Tasks
- Task Scheduler Events
- Troubleshooting Task Scheduler
- Tasks Won't Run If the Service Is Not Started
- The Task Will Run Only When a Certain User Is Logged On
- The Task Action Failed to Execute
- Interpreting Result and Return Codes
- Understanding the Windows System Assessment Tool
- Understanding WinSAT Assessment Tests
- Examining the WinSAT Features Assessment
- Running WinSAT from the Command Line
- Understanding WinSAT Command Exit Values
- Running WinSAT Using Performance Information and Tools
- System Capabilities Section
- OEM Upsell And Help Section
- Understanding Windows Error Reporting
- Overview of Windows Error Reporting
- How WER Works
- Store Management System
- ReportArchive Folder
- WER Service
- Understanding the Error Reporting Cycle
- Understanding WER Data
- Configuring WER Using Group Policy
- Configuring WER Using the Action Center