v1

latestSwagger 2.02026-07-1741020.6 KB
Post

Get logs within range

Get logs for conditions

post/api/v1/logs/range

Request body

attachmentboolean
burstinteger

The number of logs that can be returned in one page and this can be greater or less than burst

clustersstring[]

Get chunks belongs to clusters

containerstring

Use internally

containersstring[]

Get chunks belongs to namespace and containers

enableLogEntryFormatboolean
endstring

End time for query

excludestring
idstring

Use internally

includestring

Regular expression to search logs

labelsModelLabels[]

Get chunks belongs to namespaces and labels

localboolean

Use internally

namespacestring

Use internally

namespacesstring[]

Get chunks belongs to namespaces

pageinteger

The page number for the returned logs

podstring

Use internally

pod_uidstring

Use internally

podsstring[]

Get chunks belongs to namespace and pods

setNamestring

Use internally

setNamesstring[]

Get chunks belongs to namespace and set names(replicaset/statefulset)

startstring

Start time for query

Response

OK

contentsstring

logs in string

All 4 operations