Logs

Advanced search with LogQL

Search logs using LogQL query syntax

post/api/v1/k8s/logs/search

Request

  • Base URL
    http://localhost:8080
  • Auth
    none declared

Request body

directionstring

forward/backward

endstring

End time

labelsobject

Additional label filters

limitinteger

Result limit

querystring

LogQL query: {app="web"} |= "error"

startstring

Start time

stepstring

Step for aggregations

Response

OK

object required

Changes

No recorded changes to this operation across all 1 revision of this API.