3.2.4.19 Schema

The following XML elements are supported by the PLA Protocol. <38>

 <DataCollectorSet>
   <Status></Status>
   <Keyword></Keyword>
   <Duration></Duration>
   <Description></Description>
   <DescriptionUnresolved></DescriptionUnresolved>
   <DisplayName></DisplayName>
   <DisplayNameUnresolved></DisplayNameUnresolved>
   <SchedulesEnabled></SchedulesEnabled>
   <Schedule>
     <StartDate/>
     <EndDate/>
     <StartTime/>
     <Days/>
   </Schedule>
   <LatestOutputLocation></LatestOutputLocation>
   <Name></Name>
   <OutputLocation></OutputLocation>
   <RootPath></RootPath>
   <Segment></Segment>
   <SegmentMaxDuration></SegmentMaxDuration>
   <SegmentMaxSize></SegmentMaxSize>
   <SerialNumber></SerialNumber>
   <Server></Server>
   <Subdirectory></Subdirectory>
   <SubdirectoryFormat></SubdirectoryFormat>
   <SubdirectoryFormatPattern></SubdirectoryFormatPattern>
   <Task></Task>
   <TaskRunAsSelf></TaskRunAsSelf>
   <TaskArguments></TaskArguments>
   <TaskUserTextArguments></TaskUserTextArguments>
   <UserAccount></UserAccount>
   <Security></Security>
   <StopOnCompletion></StopOnCompletion>
   <PerformanceCounterDataCollector>
     <DataCollectorType></DataCollectorType>
     <Name></Name>
     <FileName></FileName>
     <FileNameFormat></FileNameFormat>
     <FileNameFormatPattern></FileNameFormatPattern>
     <LogAppend></LogAppend>
     <LogCircular></LogCircular>
     <LogOverwrite></LogOverwrite>
     <LatestOutputLocation></LatestOutputLocation>
     <DataSourceName></DataSourceName>
     <SampleInterval></SampleInterval>
     <SegmentMaxRecords></SegmentMaxRecords>
     <LogFileFormat></LogFileFormat>
     <Counter></Counter>
     <CounterDisplayName></CounterDisplayName>
   </PerformanceCounterDataCollector>
   <TraceDataCollector>
     <DataCollectorType></DataCollectorType>
     <Name></Name>
     <FileName></FileName>
     <FileNameFormat></FileNameFormat>
     <FileNameFormatPattern></FileNameFormatPattern>
     <LogAppend></LogAppend>
     <LogCircular></LogCircular>
     <LogOverwrite></LogOverwrite>
     <LatestOutputLocation></LatestOutputLocation>
     <Guid></Guid>
     <BufferSize></BufferSize>
     <BuffersLost></BuffersLost>
     <BuffersWritten></BuffersWritten>
     <ClockType></ClockType>
     <EventsLost></EventsLost>
     <ExtendedModes></ExtendedModes>
     <FlushTimer></FlushTimer>
     <FreeBuffers></FreeBuffers>
     <MaximumBuffers></MaximumBuffers>
     <MinimumBuffers></MinimumBuffers>
     <NumberOfBuffers></NumberOfBuffers>
     <PreallocateFile></PreallocateFile>
     <ProcessMode></ProcessMode>
     <RealTimeBuffersLost></RealTimeBuffersLost>
     <SessionName></SessionName>
     <SessionThreadId></SessionThreadId>
     <StreamMode></StreamMode>
     <TraceDataProvider>
        <DisplayName></DisplayName>
        <FilterEnabled></FilterEnabled>
        <FilterType></FilterType>
        <Level>
          <Description></Description>
          <ValueMapType></ValueMapType>
          <Value></Value>
          <ValueMapItem>
            <Key></Key>
            <Description></Description>
            <Enabled></Enabled>
            <Value></Value>
          </ValueMapItem>
        </Level>
        <KeywordsAny>
          <Description></Description>
          <ValueMapType></ValueMapType>
          <Value></Value>
          <ValueMapItem>
            <Key></Key>
            <Description></Description>
            <Enabled></Enabled>
            <Value></Value>
          </ValueMapItem>
        </KeywordsAny>
        <KeywordsAll>
          <Description></Description>
          <ValueMapType></ValueMapType>
          <Value></Value>
          <ValueMapItem>
            <Key></Key>
            <Description></Description>
            <Enabled></Enabled>
            <Value></Value>
          </ValueMapItem>
        </KeywordsAll>
        <Properties>
          <Description></Description>
          <ValueMapType></ValueMapType>
          <Value></Value>
          <ValueMapItem>
            <Key></Key>
            <Description></Description>
            <Enabled></Enabled>
            <Value>0x1</Value>
          </ValueMapItem>
        </Properties>
        <Guid></Guid>
        <FilterData></FilterData>
      </TraceDataProvider>
    </TraceDataCollector>
    <ConfigurationDataCollector>
      <DataCollectorType></DataCollectorType>
      <Name></Name>
     <FileName></FileName>
     <FileNameFormat></FileNameFormat>
     <FileNameFormatPattern></FileNameFormatPattern>
     <LogAppend></LogAppend>
     <LogCircular></LogCircular>
     <LogOverwrite></LogOverwrite>
     <LatestOutputLocation></LatestOutputLocation>
     <QueryNetworkAdapters></QueryNetworkAdapters>
     <RegistryKey></RegistryKey>
     <File></File>
     <ManagementQuery></ManagementQuery>
     <FileMaxCount></FileMaxCount>
     <FileMaxTotalSize></FileMaxTotalSize>
     <FileMaxRecursiveDepth></FileMaxRecursiveDepth>
     <RegistryMaxRecursiveDepth></RegistryMaxRecursiveDepth>
     <SystemStateFile></SystemStateFile>
   </ConfigurationDataCollector>
   <AlertDataCollector>
     <DataCollectorType></DataCollectorType>
     <Name></Name>
     <Alert></Alert>
     <AlertDisplayName></AlertDisplayName>
     <EventLog></EventLog>
     <SampleInterval></SampleInterval>
     <Task></Task>
     <TaskRunAsSelf></TaskRunAsSelf>
     <TaskArguments></TaskArguments>
     <TaskUserTextArguments></TaskUserTextArguments>
     <TriggerDataCollectorSet></TriggerDataCollectorSet>
   </AlertDataCollector>
   <ApiTracingDataCollector>
     <LogApiNamesOnly/>
     <ExePath/>
     <LogFilePath/>
     <IncludeModule/>
     <IncludeApis/> 
     <ExcludeApis/>
   </ApiTracingDataCollector>
   <DataManager>
     <Enabled></Enabled>
     <CheckBeforeRunning></CheckBeforeRunning>
     <MinFreeDisk></MinFreeDisk>
     <MaxSize></MaxSize>
     <MaxFolderCount></MaxFolderCount>
     <ResourcePolicy></ResourcePolicy>
     <ReportFileName></ReportFileName>
     <RuleTargetFileName></RuleTargetFileName>
     <EventsFileName></EventsFileName>
     <Rules></Rules>
     <FolderAction>
       <Size></Size>
       <Age></Age>
       <Actions></Actions>
       <SendCabTo></SendCabTo>
       </FolderAction>
   </DataManager>
 </DataCollectorSet>
  

The following table lists the relevant sections for each of the key elements in the XML that is noted above:

Element

Section

DataCollectorSet

3.2.4.1

PerformanceCounterDatacollector

3.2.4.6

TraceDataCollector

3.2.4.9

TraceDataProvider

3.2.4.11

ConfigurationDataCollector

3.2.4.7

AlertDataCollector

3.2.4.8

ApiTracingDataCollector

3.2.4.10

DataManager

3.2.4.2

Rules

3.2.4.4

FolderAction

3.2.4.3

ValueMapItem

3.2.4.17

There can be more than one of the same type of data collector type within a data collector set. There can also be many ValueMapItems within the Level, KeywordsAny, KeywordsAll and Properties elements.