2024-09-09 21:33:05 +00:00
|
|
|
[INPUT]
|
2024-09-25 16:33:26 +00:00
|
|
|
name tail
|
|
|
|
path /var/lib/docker/containers/**/*.log
|
2024-09-09 21:33:05 +00:00
|
|
|
path_key path
|
2024-09-25 16:33:26 +00:00
|
|
|
multiline.parser docker, cri
|
|
|
|
Parser docker
|
|
|
|
Docker_Mode On
|
2024-09-09 21:33:05 +00:00
|
|
|
|
|
|
|
[INPUT]
|
|
|
|
Name syslog
|
|
|
|
Listen 0.0.0.0
|
|
|
|
Port 5140
|
|
|
|
Parser syslog-rfc3164
|
|
|
|
Mode tcp
|
|
|
|
|
2024-09-27 12:38:39 +00:00
|
|
|
[INPUT]
|
|
|
|
name fluentbit_metrics
|
|
|
|
tag internal_metrics
|
|
|
|
scrape_interval 2
|
|
|
|
|
2024-09-09 21:33:05 +00:00
|
|
|
[SERVICE]
|
|
|
|
Flush 1
|
|
|
|
Parsers_File parsers.conf
|
|
|
|
|
2024-09-27 12:38:39 +00:00
|
|
|
[OUTPUT]
|
|
|
|
Name prometheus_remote_write
|
|
|
|
Match internal_metrics
|
|
|
|
Host victoriametrics
|
|
|
|
Port 8428
|
|
|
|
Uri /api/v1/write
|
|
|
|
|
|
|
|
[OUTPUT]
|
2024-09-09 21:33:05 +00:00
|
|
|
Name http
|
|
|
|
Match *
|
2024-09-25 16:33:26 +00:00
|
|
|
host victorialogs
|
2024-09-09 21:33:05 +00:00
|
|
|
port 9428
|
|
|
|
compress gzip
|
|
|
|
uri /insert/jsonline?_stream_fields=stream,path&_msg_field=log&_time_field=date
|
|
|
|
format json_lines
|
|
|
|
json_date_format iso8601
|
|
|
|
header AccountID 0
|
|
|
|
header ProjectID 0
|
|
|
|
|
2024-09-27 12:38:39 +00:00
|
|
|
[OUTPUT]
|
2024-09-09 21:33:05 +00:00
|
|
|
Name http
|
|
|
|
Match *
|
2024-09-25 16:33:26 +00:00
|
|
|
host victorialogs-2
|
2024-09-09 21:33:05 +00:00
|
|
|
port 9428
|
|
|
|
compress gzip
|
|
|
|
uri /insert/jsonline?_stream_fields=stream,path&_msg_field=log&_time_field=date
|
|
|
|
format json_lines
|
|
|
|
json_date_format iso8601
|
|
|
|
header AccountID 0
|
|
|
|
header ProjectID 0
|