whitelist

package
v0.0.0-...-691b052 Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

README

WHITELIST

Similar to blacklist, this processor will compare a certain field to a whitelist, and match if the list does not contain the term

Synopsys

SETTING TYPE REQUIRED DEFAULT VALUE
compare_field string true ""
ignore_missing bool false true
terms array true []

Details

compare_field
  • This is a required setting.
  • Value type is string
  • Default value is ""

The name of the field to use to compare to the whitelist. If the field is null, those events will be ignored.

ignore_missing
  • Value type is bool
  • Default value is true

If true, events without a compare_key field will not match.

terms
  • This is a required setting.
  • Value type is array
  • Default value is []

A list of whitelisted terms. The compare_field term must be in this list or else it will match.

Configuration blueprint

whitelist{
	compare_field => "message"
	ignore_missing => true
	terms => ["val1","val2","val3"]
}

Documentation

Overview

Code generated by "bitfanDoc "; DO NOT EDIT

Similar to blacklist, this processor will compare a certain field to a whitelist, and match if the list does not contain the term

Index

Constants

View Source
const (
	PORT_SUCCESS = 0
)

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