Data Item XML - ConsolidatorData

This data type is created by consolidator condition module, which is one of the modules that creates new data item for its output. Luckily consolidator also appends its input into this newly created DT and it can be find inside of context. $Data/…$ context parameter replacement can be used and XPath queries can be created easier once we discuss this XML representation.

<DataItem time="2007-03-11T15:15:17.5561588-07:00" type="System.ConsolidatorData">







This part will always carry a data item entering consolidator module as an input. As it is another data type, fragment will represent its XML representation and will start with <DataItem>. Following is representation of event data type.

      <DataItem type="Microsoft.Windows.EventData" time="2007-03-11T15:14:53.0000000-07:00">



        <PublisherName>Sample Publisher</PublisherName>







        <RawDescription><![CDATA[This is sample event for %1]]></RawDescription>


        <CollectDescription Type="Boolean">true</CollectDescription>






        <EventDescription><![CDATA[This is sample event for SampleComputer]]></EventDescription>




XPath to properties:

To get to the properties of the input, one must always type following:

$Data/Context/DataItem/< relative path to the property>$

There are monitors that use consolidator data as the trigger for the state change (for example Microsoft.Windows.RepeatedEventLogSingleEventLog2StateMonitorType is example of such monitor). If it is desired for such monitor to also generate an alert, and if state change trigger properties are needed, following is the query that should be used:

Prior SP1 RTM use:

$Data/Context/Context/DataItem/< relative path to the property>$

For SP1 RTM use (although above will work as well):

$Data/Context/ DataItem /Context/DataItem/< relative path to the property>$