www.krikkit.net

...don´t Panic!

  • Increase font size
  • Default font size
  • Decrease font size

Filter Windows Event Log based on Keyword

Print PDF

To filter the Windows Event Log based on a given keyword...

 

<QueryList>
  <Query Id="0" Path="System">
    <Select Path="System">*[System[Provider[@Name='Microsoft-Windows-Power-Troubleshooter']
and (EventID=1)]] and *[EventData[Data[15]='USB Root Hub']]</Select>
  </Query>
</QueryList>

to adapt this query only change the data id (can be seen out of the detailed xml view of the eventlog entry

Last Updated on Tuesday, 11 May 2010 20:05