I've got file auditing enabled and I'd like to be able to filter for a given user action. I have set up an XML filter that's pretty basic, but I can't seem to get it to work. I've got it working with a couple of eventdata categories other than AccessList such as HandleId and SubjectUserName.
<QueryList>
<Query Id="0" Path="Security">
<Select Path="Security">
*[EventData[Data[@Name='AccessList'] and (Data='%%1537')]]
</Select>
</Query>
</QueryList>
I'm trying to find the following:
<Event>
<EventData>
<Data Name="AccessList">%%1537</Data>
</EventData>
</Event>
Can anyone offer some guidance?
You need to add

				
after%%1537
	
-- the Tab

-- newline
-- carriage returnReference: https://social.technet.microsoft.com/Forums/windowsserver/en-US/bd136cf0-fb9e-48a1-ae2f-3cd4290ab973/issue-with-custom-build-xml-query-in-event-viewer?forum=winserverpowershell
You could use hex value instead of schema value,
So the query will be,