-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Input Plugins OS Support #167
Comments
hi @pnovotnak, thanks for reaching out. If I am not wrong, the in_tail plugin should work on BSD, if you want to test now (I can do it later this week), you can try to remove the plugin from the "Linux" conditional here: https://github.com/fluent/fluent-bit/blob/master/plugins/CMakeLists.txt#L66 I mean, just move this part outside of the conditional:
|
Nice! I'll test tonight / tomorrow and post results.
…On Jan 31, 2017 21:05, "Eduardo Silva" ***@***.***> wrote:
hi @pnovotnak <https://github.com/pnovotnak>,
thanks for reaching out. If I am not wrong, the in_tail plugin should work
on BSD, if you want to test now (I can do it later this week), you can try
to remove the plugin from the "Linux" conditional here:
https://github.com/fluent/fluent-bit/blob/master/
plugins/CMakeLists.txt#L66
I mean, just move this part outside of the conditional:
REGISTER_IN_PLUGIN("in_tail")
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#167 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFctXWMWElLo0GrfXolaJCuSk-SflFWaks5rYBKGgaJpZM4LzS4g>
.
|
Seems like wildcards don't work
When specifying a single file by full path, it reads the entire contents of the file in 1-minute intervals;
However, when using an sqlite3 database it offsets properly after each read 👍 though it still seems not to actively watch the file, polling it at 1m intervals instead.
|
For wildcard, modify this:
to
on that way we can avoid wildcard expansion in the shell. In order to check the build flags and internals, would you please run fluent-bit -h and paste the output of the last section called Internal ? |
Oops! Here they are;
|
thanks. So if I understand correctly, in_tail after a long period is not longer watching the files ?
|
Ah, yes, someday I will learn how to read. I suppose supporting every kernel starts to become a rabbithole. Looks like the in_tail plugin works! Thanks @edsiper! |
awesome!. Before to close the issue, would you please describe your use case, is it for production ? |
Sure.
We want to collect logs from our pfSense box and aggregate them in
Stackdriver so that we can have offsite log backups, do alerting, etc.
Target is production, but "production" here means 5 users on a wlan + 2
headless workstations, so it's a pretty small deployment.
|
Closing this ticket as "help wanted", we need more contributors to implement specific OS stuff. |
It would be nice if some of the unsupported inputs were supported on these platforms;
I'm not a C developer, or a BSD developer, but I'm willing to start work on the
in_tail
plugin--I need that one for a work project (collecting logs from a PfSense router). I'm not sure where to begin with this though, so it would be awesome if someone could get me pointed in the right direction.P.S: I do know Golang fairly well, so I could probably be more useful there if that is a viable route.
The text was updated successfully, but these errors were encountered: