VictoriaMetrics/app/vlinsert/elasticsearch
Aliaksandr Valialkin 8baa5177aa
app/vlinsert: allow specifying comma-separated list of fields containing log message via _msg_field query arg and VL-Msg-Field HTTP request header
This msy be useful when ingesting logs from different sources, which store the log message in different fields.
For example, `_msg_field=message,event.data,some_field` will get log message from the first non-empty field:
`message`, `event.data` and `some_field`.

(cherry picked from commit ed73f8350b)
2024-10-30 15:19:52 +01:00
..
bulk_response.qtpl app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
bulk_response.qtpl.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
elasticsearch.go app/vlinsert: allow specifying comma-separated list of fields containing log message via _msg_field query arg and VL-Msg-Field HTTP request header 2024-10-30 15:19:52 +01:00
elasticsearch_test.go app/vlinsert: allow specifying comma-separated list of fields containing log message via _msg_field query arg and VL-Msg-Field HTTP request header 2024-10-30 15:19:52 +01:00
elasticsearch_timing_test.go app/vlinsert: allow specifying comma-separated list of fields containing log message via _msg_field query arg and VL-Msg-Field HTTP request header 2024-10-30 15:19:52 +01:00