Can I use System Properties in a chimney configuration

I have the following sink chimney configuration

# Describe the sink
a1.sinks.k1.type = file_roll
a1.sinks.k1.sink.directory = ~/flume_file_sink
a1.sinks.k1.rollInterval = 0

I want to do sink.directory, channels.c1.capacity, channels.c1.capacitymake customized (for example, using system properties). It can be done.

+4
source share
2 answers

AFAIK, this is not possible.

The documentation says :

The smoke agent configuration is stored in a local configuration file. This is a text file following the Java properties file format.

, , Flume (. : ).

0

, , , Exec Source

https://flume.apache.org/FlumeUserGuide.html#exec-source

unix, tail -F/var/log/secure

0

Source: https://habr.com/ru/post/1584529/