Skip to content

Commit

Permalink
Update loki.source.api.md (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
marybelvargas authored Apr 16, 2024
1 parent 97b9f38 commit 217fbd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sources/reference/components/loki.source.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The component will start HTTP server on the configured port and address with the

- `/loki/api/v1/push` - accepting `POST` requests compatible with [Loki push API][loki-push-api], for example, from another {{< param "PRODUCT_NAME" >}}'s [`loki.write`][loki.write] component.
- `/loki/api/v1/raw` - accepting `POST` requests with newline-delimited log lines in body. This can be used to send NDJSON or plaintext logs. This is compatible with promtail's push API endpoint - see [promtail's documentation][promtail-push-api] for more information. NOTE: when this endpoint is used, the incoming timestamps cannot be used and the `use_incoming_timestamp = true` setting will be ignored.
- `/loki/ready` - accepting `GET` requests - can be used to confirm the server is reachable and healthy.
- `/ready` - accepting `GET` requests - can be used to confirm the server is reachable and healthy.
- `/api/v1/push` - internally reroutes to `/loki/api/v1/push`
- `/api/v1/raw` - internally reroutes to `/loki/api/v1/raw`

Expand Down

0 comments on commit 217fbd9

Please sign in to comment.