# Packages
No description provided by the author
# Functions
IsNotFoundError returns true, if the provided error implements the NotFound interface.
NewArrayAttribute creates a new array attribute.
NewBranch creates a new branch.
No description provided by the author
No description provided by the author
NewCompareExpression creates a new compare expression.
NewCondition creates a new condition.
NewConditionExpression creates a new condition expression.
NewConfig creates a new Logstash config.
NewElseBlock creates a new else-block.
NewElseIfBlock creates a new else-if-block of a Branch.
NewHashAttribute creates a new hash attribute.
NewHashEntry creates a new hash entry for a hash attribute.
NewIfBlock creates a new if-block.
NewInExpression creates a new in expression.
NewNegativeConditionExpression creates a new negative condition expression.
NewNegativeSelectorExpression creates a new negative selector expression.
NewNotFoundError wraps an error as a not found error.
NewNotInExpression creates a new not in expression.
NewNumberAttribute creates a new number attribute.
NewPlugin creates a new plugin.
NewPluginAttribute creates a new plugin attribute.
NewPluginSection creates a new plugin section.
NewPluginSections creates an array of plugin sections.
NewRegexp creates a new Regexp.
NewRegexpExpression creates a new regexp (regular expression) expression.
NewRvalueExpression creates a new rvalue expression.
NewSelector creates a new Selector.
NewSelectorElement creates a new selector element.
NewSelectorFromNames creates a new Selector form a slice of field names.
NewStringAttribute creates a new plugin attribute of type string.
NotFoundErrorf formats according to a format specifier and returns the string as a value that satisfies NotFounder.
# Constants
And is the and boolean operator.
Bareword string attribute type.
DoubleQuoted string attribute type.
Equal defines the equal operator (==).
Filter type plugin.
GreaterOrEqual defines the greater or equal operator (>=).
GreaterThan defines the greater than operator (>).
Input type plugin.
LessOrEqual defines the less or equal operator (<=).
LessThan defines the less than operator (<).
Nand is the nand boolean operator.
NoOperator is used for the first expression, which is not chained by a boolean operator.
NotEqual defines the not equal operator (!=).
Or is the or boolean operator.
Output type plugin.
RegexpMatch is the regular expression match operator (=~).
RegexpNotMatch is the regular expression not match operator (!~).
SingleQuoted string attribute type.
Undefined is a placeholder for all undefined values in all available types in this package.
Xor is the xor boolean operator.
# Variables
No description provided by the author
# Structs
A ArrayAttribute node represents a plugin attribute of type array.
A BooleanOperator represents a boolean operator.
A BoolExpression node represents a boolean operator.
A Branch node represents a conditional branch within a Logstash configuration.
No description provided by the author
A CompareExpression node represents a expression, which compares lvalue and rvalue based on the comparison operator.
A CompareOperator represents the comparison operator, used to compare two values.
A Condition node represents a condition used by if- or else-if-blocks.
A ConditionExpression node represents an Expression, which is enclosed in parentheses.
A Config node represents the root node of a Logstash configuration.
A ElseBlock node represents a else-block of a Branch.
A ElseIfBlock node represents an else-if-block of a Branch.
A HashAttribute node represents a plugin attribute of type hash.
A HashEntry node defines a hash entry within a hash attribute.
A IfBlock node represents an if-block of a Branch.
An InExpression node represents an in expression.
A NegativeConditionExpression node represents an Expression within parentheses, which is negated.
A NegativeSelectorExpression node represents a field selector expression, which is negated.
A NotInExpression node defines a not in expression.
A NumberAttribute node represents a plugin attribute of type number.
A Plugin node represents a Logstash plugin.
A PluginAttribute node represents a plugin attribute of type plugin.
A PluginSection node defines the configuration section with branches or plugins.
No description provided by the author
A Regexp node represents a regular expression.
A RegexpExpression node defines a regular expression node.
A RegexpOperator is an operator, used to compare a regular expression with an other value.
A RvalueExpression node defines an expression consisting only of a Rvalue.
A Selector node represents a field selector.
A SelectorElement node defines a selector element.
StringAttribute is a plugin attribute of type string.
No description provided by the author
# Interfaces
Attribute interface combines Logstash plugin attribute types.
BranchOrPlugin interface combines Logstash configuration conditional branches and plugins.
A Commentable node is an ast node, which accepts comments.
An Expression node defines an expression.
No description provided by the author
No description provided by the author
NotFounder interface is implemented by errors, that indicate that a record is not found.
A Rvalue node represents an right (or in some cases also an left) side value of an expression.
A StringOrRegexp node is a string attribute node or a regexp node.
# Type aliases
No description provided by the author
PluginType defines the type of a Logstash plugin, which is one of: Input, Filter or Output.
StringAttributeType defines the string format type of a string attribute.