package
2.2.1+incompatible
Repository: https://github.com/metrico/loki-apache.git
Documentation: pkg.go.dev

# Functions

New creates a new stage for the given type and configuration.
NewCRI creates a CRI format specific pipeline stage.
NewDocker creates a Docker json log format specific pipeline stage.
NewPipeline creates a new log entry pipeline from a configuration.
RunWith will reads from the input channel entries, mutate them with the process function and returns them via the output channel.

# Constants

Config Errors.
Config Errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Config Errors.
Config Errors.
ErrEmptyLabelAllowStageConfig error returned if config is empty.
ErrEmptyLabelDropStageConfig error returned if config is empty.
No description provided by the author
No description provided by the author
No description provided by the author
Config Errors.
Config Errors.
Config Errors.
Config Errors.
Config Errors.
Config Errors.
No description provided by the author
Config Errors.
Config Errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Config Errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Config Errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

Debug is used to wrap debug log statements, the go-kit logger won't let us introspect the current log level so this global is used for that purpose.
No description provided by the author

# Structs

DropConfig contains the configuration for a dropStage.
Entry
No description provided by the author
JSONConfig represents a JSON Stage configuration.
MatcherConfig contains the configuration for a matcherStage.
MetricConfig is a single metrics configuration.
MultilineConfig contains the configuration for a multilineStage.
OutputConfig configures output value extraction.
PackConfig contains the configuration for a packStage.
No description provided by the author
Pipeline pass down a log entry to each stage for mutation and/or label extraction.
RegexConfig contains a regexStage configuration.
ReplaceConfig contains a regexStage configuration.
TemplateConfig configures template value extraction.
No description provided by the author
TimestampConfig configures timestamp extraction.

# Interfaces

Processor takes an existing set of labels, timestamp and log entry and returns either a possibly mutated timestamp and log entry.
Stage can receive entries via an inbound channel and forward mutated entries to an outbound channel.

# Type aliases

labelallowConfig is a slice of labels to be included.
LabelDropConfig is a slice of labels to be dropped.
LabelsConfig is a set of labels to be extracted.
MetricsConfig is a set of configured metrics.
PipelineStage contains configuration for a single pipeline stage.
PipelineStages contains configuration for each stage within a pipeline.