List application logs
Returns Keycloak application logs for the cluster, sorted by created_at (newest first by default).
When neither start_time nor end_time is provided the query covers the last hour. The maximum date range is 90 days. Requests outside the log retention window return an empty result set.
Required scope: clusters:logs:read
Request
- Base URL: http://localhost:8000
- URL: http://localhost:8000/clusters/{cluster_id}/logs
- Auth: API key in header API-Key
Path parameters
Query parameters
Maximum number of results to return.
Number of results to skip from the start.
Inclusive start time (ISO 8601). Defaults to one hour ago when omitted.
Inclusive end time (ISO 8601). Defaults to the current time when omitted.
Case-insensitive substring match on message.
Filter by fully-qualified Java package or class name.
Filter by thread name.
Sort direction.
Sort order by created_at. Defaults to desc (newest first).
Headers
Response
The request has succeeded.
Example response
[
{
"category": "org.keycloak.events",
"thread_name": "executor-thread-1"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.