diff --git a/deployment/docker/victorialogs/fluentbit-docker/README.md b/deployment/docker/victorialogs/fluentbit-docker/README.md index 6c755475d6..502e647791 100644 --- a/deployment/docker/victorialogs/fluentbit-docker/README.md +++ b/deployment/docker/victorialogs/fluentbit-docker/README.md @@ -51,7 +51,7 @@ the example of fluentbit configuration(`filebeat.yml`) host victorialogs port 9428 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 json_date_format iso8601 header AccountID 0 diff --git a/deployment/docker/victorialogs/fluentbit-docker/fluent-bit.conf b/deployment/docker/victorialogs/fluentbit-docker/fluent-bit.conf index a4291423c3..8cca3a70e8 100644 --- a/deployment/docker/victorialogs/fluentbit-docker/fluent-bit.conf +++ b/deployment/docker/victorialogs/fluentbit-docker/fluent-bit.conf @@ -22,7 +22,7 @@ host victorialogs port 9428 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 json_date_format iso8601 header AccountID 0 diff --git a/docs/VictoriaLogs/data-ingestion/Fluentbit.md b/docs/VictoriaLogs/data-ingestion/Fluentbit.md index e9894df8c8..3d8ba735e4 100644 --- a/docs/VictoriaLogs/data-ingestion/Fluentbit.md +++ b/docs/VictoriaLogs/data-ingestion/Fluentbit.md @@ -9,7 +9,7 @@ for sending the collected logs to [VictoriaLogs](https://docs.victoriametrics.co Match * host localhost 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 json_date_format iso8601 ``` @@ -29,7 +29,7 @@ and inspecting VictoriaLogs logs then: Match * host localhost 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 json_date_format iso8601 ``` @@ -44,7 +44,7 @@ For example, the following config instructs VictoriaLogs to ignore `log.offset` Match * host localhost 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 json_date_format iso8601 ``` @@ -58,7 +58,7 @@ This usually allows saving network bandwidth and costs by up to 5 times: Match * host localhost 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 json_date_format iso8601 compress gzip @@ -74,7 +74,7 @@ For example, the following `fluentbit.conf` config instructs Fluentbit to store Match * host localhost 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 json_date_format iso8601 header AccountID 12