logging: add fluent-bit

This commit is contained in:
Andrey Kartashov 2019-11-19 16:30:06 +07:00
parent 3dcbe3c1a1
commit 9a8ebc84b3
2 changed files with 29 additions and 0 deletions

View file

@ -8,3 +8,6 @@ dependencies:
- name: elasticsearch
version: '7.4.1'
repository: https://helm.elastic.co
- name: fluent-bit
version: '2.8.2'
repository: '@stable'

View file

@ -19,6 +19,25 @@ elasticsearch:
volumeClaimTemplate:
volumeName: elasticsearch
fluent-bit:
nameOverride: fluent-bit
fullnameOverride: fluent-bit
input:
systemd:
enabled: true
backend:
# no support for gelf in chart, configure manually
type: none
extraEntries:
output: |
[OUTPUT]
Name gelf
Match *
Host graylog-tcp
Port 12201
Mode tcp
Gelf_Short_Message_Key log
graylog:
nameOverride: graylog
fullnameOverride: graylog
@ -50,6 +69,13 @@ graylog:
- hosts:
- graylog.gorilych.ru
secretName: graylog-tls
input:
tcp:
service:
type: ClusterIP
ports:
- name: gelf
port: 12201
mongodb:
uri: mongodb://mongodb:27017/graylog
elasticsearch: