You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Jonathan Natkins (JIRA)" <ji...@apache.org> on 2014/07/16 01:29:05 UTC
[jira] [Commented] (FLUME-2422) Do we have any documentation on how
to configure interceptors for flume log4j appender?
[ https://issues.apache.org/jira/browse/FLUME-2422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14062857#comment-14062857 ]
Jonathan Natkins commented on FLUME-2422:
-----------------------------------------
The "sources.log4j-source.interceptors" is slightly confusing. It's really referring to the Flume agent configuration, where you configure a particular source's interceptors by specifying "sources.<source-name>.interceptors". The log4j-source portion would be replaced with the name of the source as configured for the agent. Does that make sense?
You can see an example of interceptor configuration in the Flume user guide: http://flume.apache.org/FlumeUserGuide.html#flume-interceptors
> Do we have any documentation on how to configure interceptors for flume log4j appender?
> ---------------------------------------------------------------------------------------
>
> Key: FLUME-2422
> URL: https://issues.apache.org/jira/browse/FLUME-2422
> Project: Flume
> Issue Type: Question
> Components: Configuration, Docs
> Reporter: Bijith Kumar
>
> The current doc says "Interceptors can be specified for the source using "sources.log4j-source.interceptors"". However, this doesn't work. As the property name syntax is a bit different for xml configuration, I did try different properties like "source.interceptors", "interceptors" and "interceptor" etc. None worked. I could not find any reference to interceptors in EmbeddedAgentConfiguration.java either
--
This message was sent by Atlassian JIRA
(v6.2#6252)