mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
docs: change ndjson links to https://jsonlines.org/ as original one was hacked (#5782)
Signed-off-by: Artem Navoiev <tenmozes@gmail.com>
This commit is contained in:
parent
76a4351012
commit
c300a636d6
@ -1538,7 +1538,7 @@ Set HTTP request header `Content-Encoding: gzip` when sending gzip-compressed da
|
|||||||
VictoriaMetrics accepts data in JSON line format at [/api/v1/import](#how-to-import-data-in-json-line-format)
|
VictoriaMetrics accepts data in JSON line format at [/api/v1/import](#how-to-import-data-in-json-line-format)
|
||||||
and exports data in this format at [/api/v1/export](#how-to-export-data-in-json-line-format).
|
and exports data in this format at [/api/v1/export](#how-to-export-data-in-json-line-format).
|
||||||
|
|
||||||
The format follows [JSON streaming concept](http://ndjson.org/), e.g. each line contains JSON object with metrics data in the following format:
|
The format follows [JSON streaming concept](https://jsonlines.org/), e.g. each line contains JSON object with metrics data in the following format:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
@ -1541,7 +1541,7 @@ Set HTTP request header `Content-Encoding: gzip` when sending gzip-compressed da
|
|||||||
VictoriaMetrics accepts data in JSON line format at [/api/v1/import](#how-to-import-data-in-json-line-format)
|
VictoriaMetrics accepts data in JSON line format at [/api/v1/import](#how-to-import-data-in-json-line-format)
|
||||||
and exports data in this format at [/api/v1/export](#how-to-export-data-in-json-line-format).
|
and exports data in this format at [/api/v1/export](#how-to-export-data-in-json-line-format).
|
||||||
|
|
||||||
The format follows [JSON streaming concept](http://ndjson.org/), e.g. each line contains JSON object with metrics data in the following format:
|
The format follows [JSON streaming concept](https://jsonlines.org/), e.g. each line contains JSON object with metrics data in the following format:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
@ -1549,7 +1549,7 @@ Set HTTP request header `Content-Encoding: gzip` when sending gzip-compressed da
|
|||||||
VictoriaMetrics accepts data in JSON line format at [/api/v1/import](#how-to-import-data-in-json-line-format)
|
VictoriaMetrics accepts data in JSON line format at [/api/v1/import](#how-to-import-data-in-json-line-format)
|
||||||
and exports data in this format at [/api/v1/export](#how-to-export-data-in-json-line-format).
|
and exports data in this format at [/api/v1/export](#how-to-export-data-in-json-line-format).
|
||||||
|
|
||||||
The format follows [JSON streaming concept](http://ndjson.org/), e.g. each line contains JSON object with metrics data in the following format:
|
The format follows [JSON streaming concept](https://jsonlines.org/), e.g. each line contains JSON object with metrics data in the following format:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
@ -35,7 +35,7 @@ See also:
|
|||||||
VictoriaLogs supports the following data ingestion HTTP APIs:
|
VictoriaLogs supports the following data ingestion HTTP APIs:
|
||||||
|
|
||||||
- Elasticsearch bulk API. See [these docs](#elasticsearch-bulk-api).
|
- Elasticsearch bulk API. See [these docs](#elasticsearch-bulk-api).
|
||||||
- JSON stream API aka [ndjson](http://ndjson.org/). See [these docs](#json-stream-api).
|
- JSON stream API aka [ndjson](https://jsonlines.org/). See [these docs](#json-stream-api).
|
||||||
- Loki JSON API. See [these docs](#loki-json-api).
|
- Loki JSON API. See [these docs](#loki-json-api).
|
||||||
|
|
||||||
VictoriaLogs accepts optional [HTTP parameters](#http-parameters) at data ingestion HTTP APIs.
|
VictoriaLogs accepts optional [HTTP parameters](#http-parameters) at data ingestion HTTP APIs.
|
||||||
@ -94,7 +94,7 @@ See also:
|
|||||||
|
|
||||||
### JSON stream API
|
### JSON stream API
|
||||||
|
|
||||||
VictoriaLogs accepts JSON line stream aka [ndjson](http://ndjson.org/) at `http://localhost:9428/insert/jsonline` endpoint.
|
VictoriaLogs accepts JSON line stream aka [ndjson](https://jsonlines.org/) at `http://localhost:9428/insert/jsonline` endpoint.
|
||||||
|
|
||||||
The following command pushes multiple log lines to VictoriaLogs:
|
The following command pushes multiple log lines to VictoriaLogs:
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ See [LogsQL docs](https://docs.victoriametrics.com/VictoriaLogs/LogsQL.html) for
|
|||||||
The `query` arg must be properly encoded with [percent encoding](https://en.wikipedia.org/wiki/URL_encoding) when passing it to `curl`
|
The `query` arg must be properly encoded with [percent encoding](https://en.wikipedia.org/wiki/URL_encoding) when passing it to `curl`
|
||||||
or similar tools.
|
or similar tools.
|
||||||
|
|
||||||
The `/select/logsql/query` endpoint returns [a stream of JSON lines](http://ndjson.org/),
|
The `/select/logsql/query` endpoint returns [a stream of JSON lines](https://jsonlines.org/),
|
||||||
where each line contains JSON-encoded log entry in the form `{field1="value1",...,fieldN="valueN"}`.
|
where each line contains JSON-encoded log entry in the form `{field1="value1",...,fieldN="valueN"}`.
|
||||||
Example response:
|
Example response:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user