VictoriaMetrics/deployment/docker/victorialogs/promtail/compose.yml
Andrii Chubatiuk d5fe4566e5
app/vlinsert: support getting _msg_field, _time_field, _stream_fields and _ignore_fields from headers
*  Many collectors don't support forwarding url query params to the remote system. It makes impossible to define stream fields for it. Workaround with proxy between VictoriaLogs and log shipper is too complicated solution.

* This commit adds the following changes:
 * Adds fallback to to headers params, if query param is empty for:
     _msg_field -> VL-Msg-Field
    _stream_fields -> VL-Stream-Fields
    _ignore_fields -> VL-Ignore-Fields
    _time_field -> VL-Time-Field
 * removes deprecations from victorialogs compose files, added more
output format examples for logstash, telegraf, fluent-bit

 related issue: https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5310
2024-09-03 20:24:00 +02:00

22 lines
565 B
YAML

services:
promtail:
image: grafana/promtail:2.8.2
volumes:
- /var/lib/docker/containers:/var/lib/docker/containers:ro
- /var/log:/var/log:ro
- ./config.yml:/etc/promtail/docker-config.yml:ro
command: -config.file=/etc/promtail/docker-config.yml
ports:
- "5140:5140"
vlogs:
image: docker.io/victoriametrics/victoria-logs:v0.28.0-victorialogs
volumes:
- victorialogs-promtail-docker:/vlogs
ports:
- '9428:9428'
command:
- -storageDataPath=/vlogs
volumes:
victorialogs-promtail-docker: