mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
fix jsonline endpoint in docs
Signed-off-by: Artem Navoiev <tenmozes@gmail.com>
This commit is contained in:
parent
345c7b0bc7
commit
d1925d6a1c
3 changed files with 7 additions and 7 deletions
|
@ -51,7 +51,7 @@ the example of fluentbit configuration(`filebeat.yml`)
|
||||||
host victorialogs
|
host victorialogs
|
||||||
port 9428
|
port 9428
|
||||||
compress gzip
|
compress gzip
|
||||||
uri /insert/jsonline/?_stream_fields=stream&_msg_field=log&_time_field=date
|
uri /insert/jsonline?_stream_fields=stream&_msg_field=log&_time_field=date
|
||||||
format json_lines
|
format json_lines
|
||||||
json_date_format iso8601
|
json_date_format iso8601
|
||||||
header AccountID 0
|
header AccountID 0
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
host victorialogs
|
host victorialogs
|
||||||
port 9428
|
port 9428
|
||||||
compress gzip
|
compress gzip
|
||||||
uri /insert/jsonline/?_stream_fields=stream&_msg_field=log&_time_field=date
|
uri /insert/jsonline?_stream_fields=stream&_msg_field=log&_time_field=date
|
||||||
format json_lines
|
format json_lines
|
||||||
json_date_format iso8601
|
json_date_format iso8601
|
||||||
header AccountID 0
|
header AccountID 0
|
||||||
|
|
|
@ -9,7 +9,7 @@ for sending the collected logs to [VictoriaLogs](https://docs.victoriametrics.co
|
||||||
Match *
|
Match *
|
||||||
host localhost
|
host localhost
|
||||||
port 9428
|
port 9428
|
||||||
uri /insert/jsonline/?_stream_fields=stream&_msg_field=log&_time_field=date
|
uri /insert/jsonline?_stream_fields=stream&_msg_field=log&_time_field=date
|
||||||
format json_lines
|
format json_lines
|
||||||
json_date_format iso8601
|
json_date_format iso8601
|
||||||
```
|
```
|
||||||
|
@ -29,7 +29,7 @@ and inspecting VictoriaLogs logs then:
|
||||||
Match *
|
Match *
|
||||||
host localhost
|
host localhost
|
||||||
port 9428
|
port 9428
|
||||||
uri /insert/jsonline/?_stream_fields=stream&_msg_field=log&_time_field=date&debug=1
|
uri /insert/jsonline?_stream_fields=stream&_msg_field=log&_time_field=date&debug=1
|
||||||
format json_lines
|
format json_lines
|
||||||
json_date_format iso8601
|
json_date_format iso8601
|
||||||
```
|
```
|
||||||
|
@ -44,7 +44,7 @@ For example, the following config instructs VictoriaLogs to ignore `log.offset`
|
||||||
Match *
|
Match *
|
||||||
host localhost
|
host localhost
|
||||||
port 9428
|
port 9428
|
||||||
uri /insert/jsonline/?_stream_fields=stream&_msg_field=log&_time_field=date&ignore_fields=log.offset,event.original
|
uri /insert/jsonline?_stream_fields=stream&_msg_field=log&_time_field=date&ignore_fields=log.offset,event.original
|
||||||
format json_lines
|
format json_lines
|
||||||
json_date_format iso8601
|
json_date_format iso8601
|
||||||
```
|
```
|
||||||
|
@ -58,7 +58,7 @@ This usually allows saving network bandwidth and costs by up to 5 times:
|
||||||
Match *
|
Match *
|
||||||
host localhost
|
host localhost
|
||||||
port 9428
|
port 9428
|
||||||
uri /insert/jsonline/?_stream_fields=stream&_msg_field=log&_time_field=date
|
uri /insert/jsonline?_stream_fields=stream&_msg_field=log&_time_field=date
|
||||||
format json_lines
|
format json_lines
|
||||||
json_date_format iso8601
|
json_date_format iso8601
|
||||||
compress gzip
|
compress gzip
|
||||||
|
@ -74,7 +74,7 @@ For example, the following `fluentbit.conf` config instructs Fluentbit to store
|
||||||
Match *
|
Match *
|
||||||
host localhost
|
host localhost
|
||||||
port 9428
|
port 9428
|
||||||
uri /insert/jsonline/?_stream_fields=stream&_msg_field=log&_time_field=date
|
uri /insert/jsonline?_stream_fields=stream&_msg_field=log&_time_field=date
|
||||||
format json_lines
|
format json_lines
|
||||||
json_date_format iso8601
|
json_date_format iso8601
|
||||||
header AccountID 12
|
header AccountID 12
|
||||||
|
|
Loading…
Reference in a new issue