로그 수집기에서 Loki로 로그 전송하기
vector
Fluent Bit
fluent-bit-values.yaml
env:
- name: LOKI_HOST
value: loki-gateway.loki.svc
- name: LOKI_PORT
value: "80"
config:
# indent를 4칸으로 맞춰야 합니다.
outputs: |
[OUTPUT]
name loki
match *
host ${LOKI_HOST}
port ${LOKI_PORT}
labels job=fluent-bit
label_keys $tag
Retry_Limit 5