Is there any open source program that integrates logs in log4j format in a distributed system to a Cassandra DB?

放肆的年华 提交于 2019-12-12 04:06:28

问题


I have a distributed system that all of them use lig4j for log system events.I have a Cassandra cluster that I want to put all of my logs in log4j format in that. Is there any open source program that integrates logs in log4j format to my Cassandra cluster?


回答1:


A good choice would be Apache Flume. https://cwiki.apache.org/FLUME/

Flume is distributed log collection engine. It has built in support for log4j: http://archive.cloudera.com/cdh/3/flume/UserGuide/#_logging_via_log4j_directly

There is also a plugin for using cassandra as the log storage mechanism instead of hdfs: https://github.com/thobbs/flume-cassandra-plugin




回答2:


I started an open source project with a custom log4j appender sending the message to a apache cassandra cluster. Project site is: https://github.com/rviper/cassandra-log4j



来源:https://stackoverflow.com/questions/9248082/is-there-any-open-source-program-that-integrates-logs-in-log4j-format-in-a-distr

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!