fix jsonline endpoint in docs

Signed-off-by: Artem Navoiev <tenmozes@gmail.com>
This commit is contained in:
Artem Navoiev 2023-06-22 08:48:11 +02:00
parent 345c7b0bc7
commit d1925d6a1c
No known key found for this signature in database
GPG key ID: BE7B8368E3432014
3 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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