Keep getting CPU metrics even if input source is syslog #10279
-
I previously used classic, but after trying to use .yaml I keep getting CPU metrics even if input source is syslog. fluent-bit.yaml (example found from: https://github.com/fluent/fluent-bit-docs/blob/master/pipeline/inputs/syslog.md)
docker-compose.yml
Logs
Just for context, doing the following works (which I also found from https://github.com/fluent/fluent-bit-docs/blob/master/pipeline/inputs/syslog.md)
Could someone help me understand why this is happening? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You've not told it to use your actual config file, by default the container image will attempt to use fluent-bit/dockerfiles/Dockerfile Line 208 in 5905ddc You need to tell it to use your config file by overriding those defaults to specify |
Beta Was this translation helpful? Give feedback.
You've not told it to use your actual config file, by default the container image will attempt to use
-c /fluent-bit/etc/fluent-bit.conf
:fluent-bit/dockerfiles/Dockerfile
Line 208 in 5905ddc
You need to tell it to use your config file by overriding those defaults to specify
-c <filename>
.