drop

package
v0.6.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2019 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

README

DROP

Drops everything received Drops everything that gets to this filter.

This is best used in combination with conditionals, for example:

filter {
  if [loglevel] == "debug" {
    drop { }
  }
}

The above will only pass events to the drop filter if the loglevel field is debug. This will cause all events matching to be dropped.

Synopsys

SETTING TYPE REQUIRED DEFAULT VALUE
Percentage int false 0

Details

Percentage
  • Value type is int
  • Default value is 0

Drop all the events within a pre-configured percentage. This is useful if you just need a percentage but not the whole.

Configuration blueprint

drop{
	percentage => 123
}

Documentation

Overview

Code generated by "bitfanDoc "; DO NOT EDIT

Drops everything received Drops everything that gets to this filter.

This is best used in combination with conditionals, for example: ```

filter {
  if [loglevel] == "debug" {
    drop { }
  }
}

``` The above will only pass events to the drop filter if the loglevel field is debug. This will cause all events matching to be dropped.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() processors.Processor

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL