-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Bug Report
Describe the bug
I have added two INPUT config in my configuration file, one if for file input and second is for Systemd with the two different tags. While starting the fluentBit I am facing the below error:-
Fluent-Bit v0.13.1
Copyright (C) Treasure Data
Input plugin 'systemd' cannot be loaded
Error: You must specify an output target. Aborting
To Reproduce
fluent-bit.conf: |-
[SERVICE]
Flush 1
Daemon Off
Log_Level info
Parsers_File parsers.conf
[INPUT]
Name tail
Path /var/log/containers/.log
Exclude_Path kube-system,logging
Tag kube.
Parser docker
Refresh_Interval 5
Mem_Buf_Limit 5MB
Skip_Long_Lines On
[INPUT]
Name systemd
Tag host.*
Systemd_Filter _SYSTEMD_UNIT=kubelet.service
[FILTER]
Name kubernetes
Match kube.*
Kube_URL https://kubernetes.default.svc:443
Kube_CA_File /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
Kube_Token_File /var/run/secrets/kubernetes.io/serviceaccount/token
K8S-Logging.Parser On
K8S-Logging.Exclude On
[FILTER]
Name record_modifier
Match host.*
Record sourcetype syslog
Record index stg_sde
[FILTER]
Name record_modifier
Match kube.*
Record sourcetype kubernetes
Record index stg_sde
[FILTER]
Name modify
Match kube.*
Rename log message
[OUTPUT]
Name forward
Match *
Host mls-fluentd-pv-logging-aggregator.logging.svc
Port 24224
Retry_Limit False
parsers.conf: |-
[PARSER]
Name docker
Format none
Time_Keep true
Time_Key time
Time_Format %Y-%m-%dT%H:%M:%S.%L
Decode_Field_As escaped_utf8 log
Expected behavior
FluentBit should send both the Input data to the forward (FluentD)
Your Environment
Linux cpeasa6c4000000 4.15.0-1023-azure #24~16.04.1-Ubuntu SMP Wed Aug 29 12:54:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Reactions are currently unavailable