Minor fixes in docs/sources/api/_index.md (#5915)

pull/6048/head
Alexandre de Verteuil 3 years ago committed by GitHub
parent cd02d6a478
commit 149227b889
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/sources/api/_index.md

@ -103,7 +103,7 @@ query parameters support the following values:
- `query`: The [LogQL](../logql/) query to perform
- `limit`: The max number of entries to return. It defaults to `100`. Only applies to query types which produce a stream(log lines) response.
- `time`: The evaluation time for the query as a nanosecond Unix epoch or another [supported format](#timestamp-formats). Defaults to now.
- `direction`: Determines the sort order of logs. Supported values are `forward` or `backward`. Defaults to `backward.`
- `direction`: Determines the sort order of logs. Supported values are `forward` or `backward`. Defaults to `backward`.
In microservices mode, `/loki/api/v1/query` is exposed by the querier and the frontend.
@ -114,7 +114,7 @@ Response:
"status": "success",
"data": {
"resultType": "vector" | "streams",
"result": [<vector value>] | [<stream value>].
"result": [<vector value>] | [<stream value>],
"stats" : [<statistics>]
}
}

Loading…
Cancel
Save