Get Logs
Get all logs with filters
Authorizations
Body
"count"Domain to query logs for.
Start date for logs. Accepts: YYYY-MM-DD, YYYY-MM-DD HH:MM, YYYY-MM-DD HH:MM:SS, or full ISO timestamp.
Date interval for the report. (only used with date dimension)
hour, day, week, month, year, relative_week Dimensions to group the report by.
timestamp, method, host, path, status_code, ip, user_agent, referer, bytes_sent, duration_ms, query_params Custom ordering of the report results.
The order is a record of key-value pairs where:
- key is the field to order by, which can be a metric or dimension
- value is the direction of the order, either 'asc' for ascending or 'desc' for descending.
When not specified, the default order is the first metric in the query descending.
{ "date": "asc" }Pagination settings for the report results.
End date for logs. Accepts same formats as start_date. Defaults to now if omitted.
Filters to apply to the logs query.
Filter by HTTP method
- MethodFilter
- HostFilter
- PathFilter
- StatusCodeFilter
- IpFilter
- UserAgentFilter
- RefererFilter
- ProviderFilter
- QueryParamsFilter
- BytesSentFilter
- DurationMsFilter
Response
Successful Response
- LogVisit · object[]
- Response · object
DB Model for a log visit.