Expand description
Datadog Logs API wrapper.
Exposes a thin façade over DatadogClient for the v2 logs search
endpoint. Datadog v2 logs search uses cursor pagination
(meta.page.after), not offset. LogsApi::search issues a single
request optionally seeded with an after cursor token;
LogsApi::search_all auto-paginates up to a caller-supplied limit
(or HARD_CAP when the limit is 0), mirroring MonitorsApi::list.
Structs§
- LogsApi
- Logs API façade.
Constants§
- HARD_
CAP - Per-call upper bound on the number of log events returned by
LogsApi::search_all, even when the caller passeslimit = 0. - MAX_
PAGE_ LIMIT - Maximum page size accepted by
POST /api/v2/logs/events/search.