Logs

Search logs

Searches system logs with various filter parameters. If no time range is specified, defaults to the last 24 hours.

get/api/logs

Query parameters

startstring required

Represents an instant in time as an ISO 8601 string.

Example:2023-10-31T12:34:56.789Z
endstring required

Represents an instant in time as an ISO 8601 string.

Example:2023-10-31T12:34:56.789Z
levelsstring required
scopeIdsstring required
scopeTypesstring required
messageContentstring required
pagenumber double

Response

Paginated list of log entries

totalElementsnumber double required

The total number of elements across all pages.

sizenumber double required

The size of the page, i.e., the maximum number of elements per page.

numbernumber double required

The number of the current page, starting at 0.

totalPagesnumber double required

The total number of pages (which can be 0 if there are no elements).

Example response

{
  "content": [
    {
      "timestamp": "2023-10-31T12:34:56.789Z",
      "scopeId": "connector123",
      "scopeName": "South Connector 1",
      "message": "Connection failed to host: timeout after 5s"
    }
  ],
  "totalElements": 2,
  "size": 10,
  "totalPages": 1
}

Changes