out_file
Output plugin writes events to files. By default, it creates files on a daily basis (around 00:10). This means that when you first import records using the plugin, no file is created immediately.timekey
condition has been met. To change the output frequency, please modify the timekey
value.@type
(required)file
.path
path
parameter supports placeholders, so you can embed time
, tag
and record
fields in the path.path
parameter is used as <buffer>
's path
in this plugin./path/to/file.%Y%m%d/buffer.b5692238db04045286097f56f361028db.log
. This is an intermediate buffer file (b5692238db04045286097f56f361028db
identifies the buffer). Once the content of the buffer has been completely flushed, you will see the output file without the trailing identifier.append
out_file
flushes each chunk to a different path.append true
.<format>
Directive@type
is out_file
.format
<format>
instead.<inject>
Sectiontime
and event tag
to record.<buffer>
Section@type
chunk_keys
timekey
utc
timekey_use_utc
in <buffer>
instead.add_path_suffix
path_suffix
parameter.path_suffix
compress
gzip
. No compression is performed by default.recompress
false
symlink_path
buffer_type
is file
. No symlink is created by default. This is useful for tailing file content to check logs.@log_level
@log_level
option allows the user to set different levels of logging for each plugin.fatal
, error
, warn
, info
, debug
, trace
path
parameter.symlink_path
?symlink_path
parameter.