Tab characters
For logs that include tab-separated values, you can add horizontal tab characters to your search term to limit the number of matches.
In Windows event logs, event IDs are tab-separated. To search for a Windows event ID, in your search term, insert one horizontal tab character, 0x09, before and after the event ID. This prevents the search expression from matching other log data that might contain the same series of numbers, like timestamps or UUIDs.
To insert a horizontal tab character, on the search bar, click Indent.
For example, to search for all failed and successful login attempts for user jsmith, use this search expression:
MSWinEventLog AND ( 4624 OR 4625 ) AND jsmith
Where:
MSWinEventLoglimits the search to Windows event logs.jsmithis the username.4625is the event ID for a failed login attempt.4624is the event ID for a successful login attempt.
In this example, there is a horizontal tab character before and after each event code and a single space before and after the OR operator.
The order of search terms and whitespace characters is:
MSWinEventLog<space>AND<space>jsmith<space>AND<space>(<tab>4624<tab><space>OR<space><tab>4625<tab>)
Where:
- space is the
0x20character. - tab is the
0x09character.