Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Latest commit

 

History

History
32 lines (26 loc) · 581 Bytes

README.MD

File metadata and controls

32 lines (26 loc) · 581 Bytes

Log forwarder for fluentd/fluentbit to graylog

input -> [fluentd/fluentbit] -> fluent2gelf (multiline concat) -> graylog

Build and run

$ make build
$ ./dist/fluent2gelf -c sample.yml # run with sample config

Sample config

- match: kube.log.*_default_shop-profile*.log
  host: 10.60.6.48
  port: 12203
  multiline:
    regexp: ^201

- match: kube.log.*_default_inbox*.log
  host: 10.60.6.48
  port: 12204
  multiline:
    begin: 201

- match: kube.log.*_default_auth*.log
  host: 10.60.6.48
  port: 12205
  multiline:
    begin: 201
    index_lt: 5