We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd7f64a commit a7039caCopy full SHA for a7039ca
plugins/input/tail.md
@@ -261,6 +261,21 @@ files with dynamic path setting. I will fix this problem in the future.
261
Check [this issue](https://github.com/fluent/fluentd/issues/1126).
262
263
264
+### pos\_file\_compaction\_interval
265
+
266
+| type | default | version |
267
+|:-------|:--------|:--------|
268
+| time | nil | 1.9.2 |
269
270
+The interval of doing compaction of pos file.
271
+The targets of compaction are unwatch file's line, unparsable file's line and duplicated line.
272
+You can use this value when pos\_file option is set.
273
274
+```
275
+pos_file /var/log/td-agent/tmp/access.log.pos
276
+pos_file_compaction_interval 72h
277
278
279
### `<parse>` directive (required)
280
281
The format of the log. `in_tail` uses parser plugin to parse the log.
0 commit comments