0

I am trying to find out each concurrences for an error happening on a website I managed to create an XML query to filter by EventID

<QueryList>
<Query Id="0" Path="Application">
<Select Path="Application">
*[System[(EventID=1316)]] 
</Select>
</Query>
</QueryList>

This works fine and gives me a list of errors see filtering's results here Now I need to nail down to a particular website so I found here an answer (that I can't comment) where I am trying to filter the Application Path but it doesn't seem to work. Here is my new XML filter

<QueryList>
<Query Id="0" Path="Application">
<Select Path="Application">
*[System[(EventID=1316) and  *[EventData[Data and 
 (Data="C:\Inetpub\vhosts\vps1138245.vps.myhosting.com\lafesta.cl\")]]]] 
 </Select>
 </Query>
 </QueryList>

This query gives me 0 row. What's wrong with my filter ?

Corobori
  • 123
  • 6

1 Answers1

0
<QueryList>
  <Query Id="0" Path="Application">
    <Select Path="Application">*[System[(EventID=1316)] and EventData[Data and (Data='C:\Inetpub\vhosts\vps1138245.vps.myhosting.com\lafesta.cl\')]]</Select>
  </Query>
</QueryList>
Greg Askew
  • 35,880
  • 5
  • 54
  • 82