1

So i know you could filter by a Source IP Address. But what if you want to filter by a range of Source IP address. i tried

<QueryList>
  <Query Id="0" Path="Security">
    <Select Path="Security">*[System[(EventID=4624)]] 
      and 
      *[EventData[Data[@Name ='LogonType']='3']] 
      and
      *[EventData[Data[@Name="IpAddress"] and (Data="10.10.22.xxx")]]
   </Select>
  </Query>
</QueryList>

and

<QueryList>
  <Query Id="0" Path="Security">
    <Select Path="Security">*[System[(EventID=4624)]] 
      and 
      *[EventData[Data[@Name ='LogonType']='3']] 
      and
      *[EventData[Data[@Name="IpAddress"] and (Data="10.10.22.*")]]
   </Select>
  </Query>
</QueryList>

Both doesn't work =(

Gerald Schneider
  • 19,757
  • 8
  • 52
  • 79
Troubled
  • 11
  • 2

1 Answers1

1

It looks like this question was answered here. Short answer is wildcards are not supported in XPath 1.0, which Windows event logging uses. You'd have to filter again after exporting the events first. Provide the use case and maybe get some other ideas for achieving your goal.

twconnell
  • 764
  • 4
  • 12