Skip to content

dsdk / v1.47 / ContainerLogsData

Type Alias: ContainerLogsData ​

ContainerLogsData: object

Type declaration ​

NameTypeDescription
pathobject-
path.idstringID or name of the container
query?object-
query.follow?booleanKeep connection after returning logs.
query.since?numberOnly return logs since this time, as a UNIX timestamp
query.stderr?booleanReturn logs from stderr
query.stdout?booleanReturn logs from stdout
query.tail?stringOnly return this number of log lines from the end of the logs. Specify as an integer or all to output all log lines.
query.timestamps?booleanAdd timestamps to every log line
query.until?numberOnly return logs before this time, as a UNIX timestamp