# agent
agent.sources = syslogSource
agent.channels = memoryChannel
agent.sinks = hdfsSink

# source
agent.sources.syslogSource.type = syslogtcp
agent.sources.syslogSource.port = 5140
agent.sources.syslogSource.host = someHostname
agent.sources.syslogSource.channels = memoryChannel

# sink
agent.sinks.hdfsSink.type = hdfs
agent.sinks.hdfsSink.channel = memoryChannel
agent.sinks.hdfsSink.hdfs.filePrefix = %{host}
agent.sinks.hdfsSink.hdfs.codeC = gzip
agent.sinks.hdfsSink.hdfs.rollCount = 10000
agent.sinks.hdfsSink.hdfs.batchSize = 10
agent.sinks.hdfsSink.hdfs.rollInterval = 60
agent.sinks.hdfsSink.hdfs.path = hdfs://someOtherHostname/user/flume/iislogs/%Y-%m-%d

# channel
agent.channels.memoryChannel.type = memory
agent.channels.memoryChannel.capacity = 100
