diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d444aaa9..9e96ac738 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - +## [0.13.6] - 2020-12-23 +### Added +- Ability to customize `file_input`'s `fingerprint_size` ## [0.13.6] - 2020-12-18 ### Fixed - Issue where timestamps ending 'Z' were not treated as UTC diff --git a/docs/operators/file_input.md b/docs/operators/file_input.md index e05d4da2e..e8a88a860 100644 --- a/docs/operators/file_input.md +++ b/docs/operators/file_input.md @@ -17,7 +17,7 @@ The `file_input` operator reads logs from files. It will place the lines read in | `include_file_name` | `true` | Whether to add the file name as the label `file_name` | | `include_file_path` | `false` | Whether to add the file path as the label `file_path` | | `start_at` | `end` | At startup, where to start reading logs from the file. Options are `beginning` or `end` | -| `fingerprint_size` | `1kb` | The number of bytes with which to identify a file. The first bytes in the file are used as the fingerprint. | +| `fingerprint_size` | `1kb` | The number of bytes with which to identify a file. The first bytes in the file are used as the fingerprint. Decreasing this value at any point will cause existing fingerprints to forgotten, meaning that all files will be read from the beginning (one time). | | `max_log_size` | `1MiB` | The maximum size of a log entry to read before failing. Protects against reading large amounts of data into memory | | `max_concurrent_files` | 1024 | The maximum number of log files from which logs will be read concurrently. If the number of files matched in the `include` pattern exceeds this number, then files will be processed in batches. One batch will be processed per `poll_interval`. | | `labels` | {} | A map of `key: value` labels to add to the entry's labels |