From cbc53678124e36ccd8d6b9c95f722024a38510bb Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 20 Jul 2023 21:11:18 -0700 Subject: [PATCH] docs/VictoriaLogs/data-ingestion: mention that VictoriaLogs automatically extracts message and timestamp from data ingested via Loki JSON API --- docs/VictoriaLogs/data-ingestion/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/VictoriaLogs/data-ingestion/README.md b/docs/VictoriaLogs/data-ingestion/README.md index 925106100..cb56428b1 100644 --- a/docs/VictoriaLogs/data-ingestion/README.md +++ b/docs/VictoriaLogs/data-ingestion/README.md @@ -153,6 +153,7 @@ curl -H "Content-Type: application/json" -XPOST "http://localhost:9428/insert/lo It is possible to push thousands of log streams and log lines in a single request to this API. The API accepts various http parameters, which can change the data ingestion behavior - [these docs](#http-parameters) for details. +There is no need in specifying `_msg_field` and `_time_field` query args, since VictoriaLogs automatically extracts log message and timestamp from the ingested Loki data. The following command verifies that the data has been successfully ingested into VictoriaLogs by [querying](https://docs.victoriametrics.com/VictoriaLogs/querying/) it: