flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeff saremi <jeffsar...@hotmail.com>
Subject Defining reusable components in the Properties file
Date Sun, 09 Apr 2017 19:40:33 GMT
Is there anyway to create some reusable settings/components and then use them in the context
of a specific source or agent?

# Can I do something like:
interceptors.my_reusable_interceptor.type =regex_extractor

interceptors.my_reusable_interceptor.regex = (\\d{4}-\\d{2}-\\d{2})


# and then farther below:
my_agent.sources.my_source.interceptors = my_reusable_interceptor



Mime
View raw message