Sha256: 3af2498b4de2acb75dcd63240453c6d52d8c0692be34ca01e6fa921603dc74f6
Contents?: true
Size: 1.68 KB
Versions: 2
Compression:
Stored size: 1.68 KB
Contents
# Logstash Delta Filter Documentation [](https://travis-ci.org/tiwilliam/logstash-filter-delta) [](https://badge.fury.io/rb/logstash-filter-delta) This filter helps you to calculate integer or float delta and tag based on result or write it to a field. ## Write delta to field ``` delta { between_fields => [ {"start_time" => "end_time"} ] output_field => "delta_time" } ``` ## Set tag based on delta ``` delta { between_fields => [ {"backend_epoch" => "client_epoch"} ] min => -10 # -10 seconds max => 600 # +10 minutes tag_on_min_failure => ["_event_too_new"] tag_on_max_failure => ["_event_too_old"] } ``` ## Filter options * **between_fields** Hash with one key representing start and value representing end. Required. * **output_field** In which field to store delta value on match. Optional. * **min** Minimum delta allowed for match. Optional. * **max** Maximum delta allowed for match. Optional. * **tag_on_failure** Append values to the `tags` field on generic failure. Defaults to `["_deltafailure"]`. * **tag_on_min_failure** Append values to the `tags` field on min failure. Defaults to `["_deltafailure"]`. * **tag_on_max_failure** Append values to the `tags` field on max failure. Defaults to `["_deltafailure"]`. ## Changelog You read about all changes in [CHANGELOG.md](CHANGELOG.md). ## Need help? Need help? Try #logstash on freenode IRC or the [Logstash discussion forum](https://discuss.elastic.co/c/logstash). ## Want to contribute? Get started by reading [BUILD.md](BUILD.md).
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
logstash-filter-delta-1.1.2 | README.md |
logstash-filter-delta-1.1.1 | README.md |