Skip to content

Commit b01e123

Browse files
committed
output secondary_file: add howto to resend secondary file
It is useful to mention about how to recover from secondary file. Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
1 parent 5dddefd commit b01e123

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

plugins/output/secondary_file.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,18 @@ behavior, you can disable it by setting `append true`:
113113
dump.bin
114114
```
115115

116+
## How to resend secondary file
117+
118+
The secondary file can be resend by `fluent-cat` command.
119+
120+
Here is the example to resend `dump.bin.0` to `127.0.0.1:24224` using `fluent-cat`.
121+
122+
```
123+
$ cat /path/to/dump.bin.0 | fluent-cat --format msgpack --host 127.0.0.1 --port 24224 TAG
124+
```
125+
126+
See [fluent-cat](/deployment/command-line-option.html#fluent-cat) command line option about details.
127+
116128
------------------------------------------------------------------------
117129

118130
If this article is incorrect or outdated, or omits critical information, please

0 commit comments

Comments
 (0)