v1

latestOpenAPI 3.1.02026-07-17753796.1 KB
Logs

Get the content of a log file

get/api/logs/{file}

Path parameters

filestring required

The filename (without .log extension) to handle.

Query parameters

limitinteger

Number of lines to read from the file as JSON.

offsetinteger

Number of lines to skip when reading the file as JSON.

channelsstring

Comma-separated list of channels to filter the JSON result against.

levelsstring

Comma-separated list of log levels to filter the JSON result against.

Response

The log file content

namestring

The file name without extension.

sizeinteger

The file size in bytes

mtimestring

Last modification date of the file

linesinteger

Number of lines in the log file