Documentation ¶
Index ¶
Constants ¶
View Source
const ( Integer dataType = iota Long Float Double String Boolean IP )
List of dataTypes.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dissector ¶
type Dissector struct {
// contains filtered or unexported fields
}
Dissector is a tokenizer based on the Dissect syntax as defined at: https://www.elastic.co/guide/en/logstash/current/plugins-filters-dissect.html
func (*Dissector) Dissect ¶
Dissect takes the raw string and will use the defined tokenizer to return a map with the extracted keys and their values.
Dissect uses a 3 steps process: - Find the key positions - Extract and resolve the keys (append / indirect) - Ignore namedSkipField
func (*Dissector) DissectConvert ¶
func (d *Dissector) DissectConvert(s string) (MapConverted, error)
type MapConverted ¶
type MapConverted = map[string]interface{}
Click to show internal directories.
Click to hide internal directories.