flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kumar, Deepak8 " <deepak8.ku...@citi.com>
Subject Files names identification in tail -F *.log
Date Tue, 10 Sep 2013 10:56:35 GMT
Hi,

I am using flume 1.4. Do we have a way to indentify file names at sink if we are using regex
in file name patterns in tail command, like tail -F *flume*.log. The flume-conf is as follows:



agent.sources.1376976299847.batchSize = 1

agent.sources.1376976299847.channels = fileChannel

agent.sources.1376976299847.command = tail -F /var/log/flume-ng/*flume*

agent.sources.1376976299847.interceptors = logIntercept

agent.sources.1376976299847.interceptors.logIntercept.appId = 153299

agent.sources.1376976299847.interceptors.logIntercept.env = regex

agent.sources.1376976299847.interceptors.logIntercept.hostName = vm-e61b-fe34.nam.nsroot.net

agent.sources.1376976299847.interceptors.logIntercept.logFileName = *flume*

agent.sources.1376976299847.interceptors.logIntercept.logFilePath = /var/log/flume-ng/

agent.sources.1376976299847.interceptors.logIntercept.logType = flume log

agent.sources.1376976299847.interceptors.logIntercept.type = com.citi.sponge.flume.agent.source.LogInterceptor$Builder

agent.sources.1376976299847.shell = /bin/bash -c

agent.sources.1376976299847.type = exec



Regards,

Deepak

Mime
View raw message