当前位置首页 > Apache知识

apache-flume-1.5.0-binwindows

阅读次数:419 次  来源:admin  发布时间:

1 testconsole.conf

yslog-agent.sources = Syslog

yslog-agent.channels = MemoryChannel-1

yslog-agent.sinks = Console

yslog-agent.sources.Syslog.type = syslogTc

yslog-agent.sources.Syslog.port = 5140

yslog-agent.sources.Syslog.channels = MemoryChannel-1

yslog-agent.sinks.Console.channel = MemoryChannel-1

yslog-agent.sinks.Console.type = logger

yslog-agent.channels.MemoryChannel-1.type = memory

2:log4j.propertie

#flume.root.logger=DEBUG,console

flume.root.logger=INFO,LOGFILE

3

C:\apache-flume-1.5.0-bin>

"C:\Program Files (x86)\Java\jre1.8.0_45\bin\java.exe" -Xmx1024m -Dlog4j.configuration=file:///C:\apache-flume-1.5.0-bin\conf\log4j.properties -cp "C:\apache-flume-1.5.0-bin\lib\*" org.apache.flume.node.Application -f C:\apache-flume-1.5.0-bin\conf\testconsole.conf -n syslog-agent

上一篇:Linux下使用fdisk扩展分区容量
下一篇:Linuxfdisk普通分区扩容-林肯公园