secondary_file
Last updated
Was this helpful?
Was this helpful?
<match pattern>
@type forward
# ...
<secondary>
@type secondary_file
directory /var/log/fluentd/error
</secondary>
</match><secondary>
@type secondary_file
directory /var/log/fluentd/error
</secondary><secondary>
@type secondary_file
directory /var/log/fluentd/error
basename dump.${chunk_id}
</secondary># 59c278456e74a22dc594b06a7d4247c4 is chunk id
/var/log/fluentd/error/dump.59c278456e74a22dc594b06a7d4247c4.0# append false
dump.bin.0
dump.bin.1
dump.bin.2
...
dump.bin.N# append true
dump.bin$ cat /path/to/dump.bin.0 | fluent-cat --format msgpack --host 127.0.0.1 --port 24224 TAG