Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { helper.ParserConfig `mapstructure:",squash"` Format string `mapstructure:"format"` AddMetadataFromFilePath bool `mapstructure:"add_metadata_from_filepath"` MaxLogSize helper.ByteSize `mapstructure:"max_log_size,omitempty"` }
Config is the configuration of a Container parser operator.
func NewConfig ¶
func NewConfig() *Config
NewConfig creates a new JSON parser config with default values
func NewConfigWithID ¶
NewConfigWithID creates a new JSON parser config with default values
type Parser ¶
type Parser struct { helper.ParserOperator // contains filtered or unexported fields }
Parser is an operator that parses Container logs.
func (*Parser) ProcessBatch ¶ added in v0.121.0
Click to show internal directories.
Click to hide internal directories.