parser

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 3 Imported by: 24

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSON

type JSON struct {
	// Time_Key
	TimeKey string `json:"timeKey,omitempty"`
	// Time_Format, eg. %Y-%m-%dT%H:%M:%S %z
	TimeFormat string `json:"timeFormat,omitempty"`
	// Time_Keep
	TimeKeep *bool `json:"timeKeep,omitempty"`
}

The JSON parser plugin. <br /> **For full documentation, refer to https://docs.fluentbit.io/manual/pipeline/parsers/json**

func (*JSON) DeepCopy

func (in *JSON) DeepCopy() *JSON

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSON.

func (*JSON) DeepCopyInto

func (in *JSON) DeepCopyInto(out *JSON)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*JSON) Name

func (_ *JSON) Name() string

func (*JSON) Params

func (j *JSON) Params(_ plugins.SecretLoader) (*params.KVs, error)

type LSTV

type LSTV struct {
	// Time_Key
	TimeKey string `json:"timeKey,omitempty"`
	// Time_Format, eg. %Y-%m-%dT%H:%M:%S %z
	TimeFormat string `json:"timeFormat,omitempty"`
	// Time_Keep
	TimeKeep *bool  `json:"timeKeep,omitempty"`
	Types    string `json:"types,omitempty"`
}

The LSTV parser allows to parse LTSV formatted texts. <br /> **For full documentation, refer to https://docs.fluentbit.io/manual/pipeline/parsers/ltsv**

func (*LSTV) DeepCopy

func (in *LSTV) DeepCopy() *LSTV

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LSTV.

func (*LSTV) DeepCopyInto

func (in *LSTV) DeepCopyInto(out *LSTV)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LSTV) Name

func (_ *LSTV) Name() string

func (*LSTV) Params

func (l *LSTV) Params(_ plugins.SecretLoader) (*params.KVs, error)

type Logfmt

type Logfmt struct{}

The logfmt parser allows to parse the logfmt format described in https://brandur.org/logfmt . <br /> **For full documentation, refer to https://docs.fluentbit.io/manual/pipeline/parsers/logfmt**

func (*Logfmt) DeepCopy

func (in *Logfmt) DeepCopy() *Logfmt

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Logfmt.

func (*Logfmt) DeepCopyInto

func (in *Logfmt) DeepCopyInto(out *Logfmt)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Logfmt) Name

func (_ *Logfmt) Name() string

func (*Logfmt) Params

func (_ *Logfmt) Params(_ plugins.SecretLoader) (*params.KVs, error)

type Regex

type Regex struct {
	Regex string `json:"regex,omitempty"`
	// Time_Key
	TimeKey string `json:"timeKey,omitempty"`
	// Time_Format, eg. %Y-%m-%dT%H:%M:%S %z
	TimeFormat string `json:"timeFormat,omitempty"`
	// Time_Keep
	TimeKeep *bool `json:"timeKeep,omitempty"`
	// Time_Offset, eg. +0200
	TimeOffset string `json:"timeOffset,omitempty"`
	Types      string `json:"types,omitempty"`
}

The regex parser allows to define a custom Ruby Regular Expression that will use a named capture feature to define which content belongs to which key name. <br /> **For full documentation, refer to https://docs.fluentbit.io/manual/pipeline/parsers/regular-expression**

func (*Regex) DeepCopy

func (in *Regex) DeepCopy() *Regex

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Regex.

func (*Regex) DeepCopyInto

func (in *Regex) DeepCopyInto(out *Regex)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Regex) Name

func (_ *Regex) Name() string

func (*Regex) Params

func (re *Regex) Params(_ plugins.SecretLoader) (*params.KVs, error)

Jump to

Keyboard shortcuts

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