provider Audit POST /api/v2/audit/events/search
@utdk/datadog /api/v2/audit/events/search
Search Audit Logs events
List endpoint returns Audit Logs events that match an Audit search query. [Results are paginated][1]. Use this endpoint to build complex Audit Logs events filtering and search. [1]: https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination

Try it

Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

searchauditlogs
POST/api/v2/audit/events/search
List endpoint returns Audit Logs events that match an Audit search query. [Results are paginated][1]. Use this endpoint to build complex Audit Logs events filtering and search. [1]: https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination

Input

Search and filter query settings.

Global query options that are used during the query. Note: Specify either timezone or time offset, not both. Otherwise, the query fails.

Paging attributes for listing events.

Sort parameters when querying events.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.searchauditlogs()