Zudoku
Unikraft Cloud Network Shield Plugin API

Logs

Server

Get Logs

GET
http://localhost:8080
/logs

Read the log of what the control plane did, a page at a time, oldest first; the latest entries are order=desc&count=N. Each category keeps its 10,000 most recent entries. 422 is returned for a count out of range, an order other than asc or desc, a from that is neither an id nor a time, or a query parameter this operation does not take.

Get Logs › query Parameters

count
​integer · uint32 · min: 1 · max: 1000

(OPTIONAL) The most entries to return.

Default: 100
from
​string

(OPTIONAL) Where the page starts: an ISO-8601 time, meaning the first entry at or after it, or with order=desc the last at or before it. A time without a zone is UTC, and a number is refused. The oldest entry by default, or with order=desc the newest.

order
​PaginationOrder · enum

(OPTIONAL) Oldest first, or newest first. The default is oldest first.

Pagination helpers.

Enum values:
asc
desc
category
​LogCategory · enum

(OPTIONAL) Only the entries of this category.

What wrote a log entry.

Enum values:
api
policy

Get Logs › Responses

A page of the log.

The response carrying a page of the log.
status
​string · enum · required

The status of the response.

Enum values:
success
error
partial_success
​object · required

The response data for this request.

op_time_us
​integer · uint64 · required

The operation time in microseconds.

message
​string

An optional message providing additional information about the status.

A list of errors which may have occurred during the request.