out_exec
TimeSliced Output plugin passes events to an external program. The program receives the path to a file containing the incoming events as its last argument. The file format is tab-separated values (TSV) by default.out_exec
is included in Fluentd's core. No additional installation process is required.fizzbuzz.py
runs FizzBuzz against the new-line delimited sequence of natural numbers (1, 2, 3...) and writes the output to "foobar.out".buffer_path
, and the command python /path/to/fizzbuzz.py /path/to/buffer_path
is run. This is why in fizzbuzz.py
, it's reading the file at sys.argv[-1]
.foobar.out
.exec
.keys
parameter.time_key
parameter is specified. The default is UNIX time (integer).%Y%m%d%H
, which creates one file per hour.file
by default (buf_file). The memory
(buf_memory) buffer type can be chosen as well. If you use file
buffer type, buffer_path
parameter is required.max_retry_wait
is reached.retry_limit
parameter for details), the sleep interval can be up to approximately 131072 seconds (roughly 36 hours) in the default configurations.retry_limit
is ignored and there is no limit). The default values are 17 and false (not disabled). If the limit is reached, buffered data is discarded and the retry interval is reset to its initial value (retry_wait
).40.0
seconds.log_level
option allows the user to set different levels of logging for each plugin. The supported log levels are: fatal
, error
, warn
, info
, debug
, and trace
.