v1

latestSwagger 2.02026-07-1741020.6 KB
Post

Get metadata of logs

Get metadata of logs for conditions

post/api/{version}/logs

Path parameters

versionstring required

v1 or v2

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

clusterstring
containerstring
idstring
labelsModelLabels
lineinteger
namespacestring
podstring
podUidstring
setNamestring
sizeinteger
startedAtstring
storeAddrstring
updatedAtstring