mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-23 08:56:31 +01:00
3ba2be1657
* deployment/logs-benchmark: add suite for Loki Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com> * deployment/logs-benchmark: update go image to 1.21.3 Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com> * deployment/logs-benchmark: split command to run elk and loki Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com> --------- Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
27 lines
624 B
YAML
27 lines
624 B
YAML
server:
|
|
http_listen_port: 9080
|
|
grpc_listen_port: 0
|
|
|
|
positions:
|
|
filename: /tmp/positions.yaml
|
|
|
|
clients:
|
|
- url: http://loki:3100/loki/api/v1/push
|
|
- url: http://vlogs:9428/insert/loki/api/v1/push?_stream_fields=hostname,application
|
|
# batchwait: 5s
|
|
# batchsize: 5242880
|
|
|
|
scrape_configs:
|
|
- job_name: syslog
|
|
syslog:
|
|
listen_address: 0.0.0.0:5140
|
|
idle_timeout: 12h
|
|
use_incoming_timestamp: true
|
|
labels:
|
|
job: syslog
|
|
relabel_configs:
|
|
- source_labels: [__syslog_message_hostname]
|
|
target_label: hostname
|
|
- source_labels: [__syslog_message_app_name]
|
|
target_label: application
|