Hi, what is the recommended way to send all the Fl...
# fluent-bit
k
Hi, what is the recommended way to send all the FluentBit internal logs to some output? I've looked through the docs and GitHub, but was unable to find the answer. I see that there is a Fluent Bit Metrics input, but nothing similar for logs. I'm looking for something like Internal Logs source in vector. If there is no built-in source for that, what is the best way to achieve the same result? Logging to a file and using a tail source? I'm thinking about deploying FluentBit on Kubernetes but want all my logs to be sent to Splunk. Appreciate any help or guidance, thanks !
✅ 1
p
There is no input plugin for that yet, I did propose one but have not had a chance to look at it yet.
👍 1
Easiest way is probably to configure log_file and tail that file.
k
Awesome, thanks for the quick response. I'll try that approach.
p
Note you'll have to handle log file rotation yourself if you use that. Alternatively just consume the logs from however you are running it, e.g. journald, container runtime, etc
k
That was my first thought, that it introduces the file rotation effort on my side, but I'll play around with it. Is there a GH issue for the internal_logs input that I could track ?
p
I can't remember if I raised one yet but I definitely talked about it 😂 I'd like to have it to standard and ingest directly into pipelines rather than having to rely on parsing the existing output which may change
👍 1
k
Great, that's already enough information for me, looking forward to it. 🙂 Thanks !