3 ms·
I don't know a whole lot about this stuff. Why would one set up remote logging and not send logs instantly?
by mikeash 12y ago
I don't know a whole lot about this stuff. Why would one set up remote logging and not send logs instantly?
- ecnahc515 12y agoSometimes you have a lot of throughput, and it simply isn't feasible. Could potentially saturate your network, or overload your remote aggregator. Of course, all of this is fixable, but often times when every node just pushes logs out, it's hard to throttle that.
- UnoriginalGuy 12y agoBecause sending logs has a lot of overhead. Much of that overhead can be mitigated by waiting even a few seconds, packaging several logs together, and sending a batch. On a LAN where the sender and receiver are close this type of overhead is much lower than over the internet. It is also worth noting that on some systems several logs can be generated each second, several hundred a minute, so even modest overhead can become costly 24/7/365. It is also worth noting that some people have remote logging configured NOT for security reasons (primarily) but for system health monitoring. In this scenario the speed isn't as vital as keeping the overhead low.