URL parameters
Source whose logs are grouped. Get its ID via List sources.
Query parameters
Start of the time range. Accepts an ISO 8601 timestamp, in UTC when it has no time zone, a relative time like now-1h or now-2h45m, or a Unix timestamp in seconds, milliseconds, microseconds or nanoseconds. Defaults to now-1h.
End of the time range, in the same forms as start_time. Must be after start_time. Defaults to now.
How many patterns to return, from 1 to 100.
Length of each step to count each pattern in, returned as samples. Accepts a duration such as 30s, 5m, 1h or 1d. A number alone is seconds. The time range can hold at most 1000 steps.
Only logs of this level, read from the log's level field and ignoring letter case.
Valid values:error: Matches logs whose level is error or err.warn: Matches logs whose level is warn or warning.info: Matches logs whose level is info.debug: Matches logs whose level is debug.all: Matches logs of every level.
Only logs of this service, by its name from List services.
Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.
Headers
Bearer $TOKEN