On Thu, 29 Mar 2018, Luigi Tagliamonte wrote:
I do use Kafka for centralize all the logging and messaging so was a no
brain choice for me.
yep, if you already are using kafka or similar for your logging, it makes sense
to use them for docker logs as well. No disagreement there.
I'm just unhappy with the idea of having to setup something like that just to
get logs out of docker sanely
Plus gives you durability in case you have problems with syslog/indexing
services.
well, your milage may vary, I expect that I'd have more hassles getting good
durability out of kafka or similar than out of rsyslog. It all depends on what
you are most familiar with :-)
David Lang
On Wed, Mar 28, 2018, 6:13 PM David Lang <[email protected]> wrote:
On Thu, 29 Mar 2018, Luigi Tagliamonte via rsyslog wrote:
I personally think that the best way is to have the docker log kafka
plugin
sending logs to Kafka and then fetch then with rsyslog Kafka in module.
that's possbile, but it seems like a poor approach to need to install
something
as complex as kafka or fluent just to get logs to syslog.
any idea how receptive the docker folks would be to a modification to the
syslog
log driver that output the needed data in json? It should be a trivial
thing to
combine the 'send to syslog' part of one log driver with the 'write data in
json' of a second log driver, adding a little metadata may be a little more
work, but it's wasted work if it can't go upstream.
David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.