-
Notifications
You must be signed in to change notification settings - Fork 57
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
Feature Request - batch logging in FluentLogger->post() function #22
Comments
AFAIK, fluentd doesn't have such interface. in_tail might solve your concerns. http://docs.fluentd.org/articles/in_tail Basically, PHP is poor about back ground task like sending metrics data. It's PHP architecture design. But it can improve with C extension. I'll plan to add async logger this year. |
Yes, this does improve performance. curl is always faster than file_get_contents. |
FYI: For now, you can use Embulk for batch operations. |
This issue seems to request micro-batch forward, not Embulk like huge batching. in_forward accepts multiple events in one request so supporting this is good for some users. |
Hello,
I want to be able to write batch logs (50 items) atomically.
Currently, I'm posting logs in foreach loop in batch requests. However, if td agent stops unexpectedly, I need to write the complete request(50 items) to csv. Is it possible in the current code base ? Does fluentd interface support batch logging ?
Thanks
Aras
The text was updated successfully, but these errors were encountered: