Get Windows Events

Returns matched Event Log Monitoring rows (30-day rolling retention, filtered on event timestamp).

Query Params
date-time

Start date and time of the search period in the format: YYYY-MM-DD'T'hh:mm:ss.sssZ

date-time

End date and time of the search period in the format: YYYY-MM-DD'T'hh:mm:ss.sssZ

logLevel
array of strings

Filter by log level. CSV, case-insensitive. Valid values: Critical, Error, Warning, Information, Verbose.

logLevel
logName
array of strings

Filter by the full programmatic log name (e.g. Microsoft-FSLogix-Apps/Operational). Exact match, case-insensitive. CSV.

logName
sourceName
array of strings

Filter by event source/provider name. Exact match, case-insensitive. CSV.

sourceName
eventId
array of int32s

Filter by Windows event ID. CSV.

eventId
machineName
array of strings

Filter by machine name. Exact match, case-insensitive. CSV.

machineName
userName
array of strings

Filter by user name (DOMAIN\User or SID-string fallback). Exact match, case-insensitive. CSV.

userName
string

Response field to sort by. Default: eventTime.

string
enum

Sort order. Default: desc.

Allowed:
int32
≥ 1

The page number returned. The first page is 1.

int32
1 to 100000

The number of items returned per page. Minimum is 1.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json