Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- agent1.sources = source1 source2
- agent1.sinks = sink1
- agent1.channels = channel1
- agent1.sources.source1.channels = channel1
- agent1.sources.source2.channels = channel1
- agent1.sinks.sink1.channel = channel1
- agent1.sources.source1.type = spooldir
- agent1.sources.source1.spoolDir = /tmp/slooldir/bb
- agent1.sources.source12.type = spooldir
- agent1.sources.source2.spoolDir = /tmp/spooldir/dr
- agent1.sinks.sink1.type = hdfs
- agent1.sinks.sink1.hdfs.path = /tmp/flume/finance
- agent1.sinks.sink1.hdfs.filePrefix = events
- agent1.sinks.sink1.hdfs.fileSuffix = .log
- agent1.sinks.sink1.hdfs.inUsePrefix = _
- agent1.sinks.sink1.hdfs.fileType = Data Stream
- agent1.channels.channel1.type = file
- flume-ng agent -conf /home/cloudera/flumeconf -conf-file /home/cloudera/flumeconf/flume7.conf --name agent1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement