docs/VictoriaLogs/data-ingestion: mention that VictoriaLogs automatically extracts message and timestamp from data ingested via Loki JSON API

This commit is contained in:
Aliaksandr Valialkin 2023-07-20 21:11:18 -07:00
parent 8c59813c17
commit cbc5367812
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

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