# Functions
No description provided by the author
NetworkContains returns true if the given IP is contained by any of the networks.
NewAndCondition builds this condition from a slice of Condition objects.
No description provided by the author
No description provided by the author
NewCondition takes a Config and turns it into a real Condition.
NewConditionList takes a slice of Config objects and turns them into real Condition objects.
No description provided by the author
NewEqualsCondition builds a new Equals using the given configuration of string equality checks.
NewExistsCondition builds a new Exists checking the given list of fields.
No description provided by the author
NewMatcherCondition builds a new Matcher with the given human name using the provided config fields.
NewNetworkCondition builds a new Network using the given configuration.
NewNotCondition builds a new Not condition that negates the provided Condition.
NewOrCondition builds this condition from a slice of Condition objects.
No description provided by the author
No description provided by the author
NewRangeCondition builds a new Range from a map of ranges.
No description provided by the author
# Structs
Config represents a configuration for a condition, as you would find it in the config files.
No description provided by the author
No description provided by the author
Fields represents an arbitrary map in a config file.
No description provided by the author
Matcher is a Condition that works with beat's internal notion of a string matcher.
Network is a condition that tests if an IP address is in a network range.
Not is a condition that negates its inner condition.
Prefix is a Condition for checking field is prefix with some specify string.
Suffix is a Condition for checking field if the field whether end with specify string or not.
# Interfaces
Condition is the interface for all defined conditions.
No description provided by the author
No description provided by the author
ValuesMap provides a common interface to read matchers for condition checking.
# Type aliases
And is a compound condition that combines multiple conditions with logical AND.
No description provided by the author
Equals is a Condition for testing string equality.
Exists is a Condition for checking field existence.
No description provided by the author
No description provided by the author
Or is a compound condition that combines multiple conditions with logical OR.
No description provided by the author
Range is a Condition type for checking against ranges.