有没有什么开源程序可以将分布式系统中log4j格式的日志整合到Cassandra数据库中?[英] Is there any open source program that integrates logs in log4j format in a distributed system to a Cassandra DB?

本文是小编为大家收集整理的关于有没有什么开源程序可以将分布式系统中log4j格式的日志整合到Cassandra数据库中?的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

我有一个分布式系统,所有这些系统都将LIG4J用于日志系统事件.我有一个Cassandra群集,我想将所有日志都以log4j格式放置. 是否有将Log4J格式集成到我的Cassandra群集的开源程序?

推荐答案

一个不错的选择是Apache Flume. https://cwiki.apache.org/flume/

水槽是分布式的日志收集引擎.它构建了对log4j的支持: http://archive.cloudera.com/cdh/3/flume/userguide/#_ logging_via_log4j_directly

还有一个用于使用Cassandra作为日志存储机制而不是HDFS的插件: https:///Github.com/thobbs/flume-cassandra-plugin

其他推荐答案

我启动了一个开源项目,并使用自定义Log4J Appender将消息发送到Apache Cassandra群集.项目网站是: https://github.com/rviper/rviper/cassandra-log4j

本文地址:https://www.itbaoku.cn/post/1575144.html

问题描述

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?

推荐答案

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

其他推荐答案

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