package
1.6.1
Repository: https://github.com/grafana/loki.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.

# 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.
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
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

# 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.
JSONConfig represents a JSON Stage configuration.
MatcherConfig contains the configuration for a matcherStage.
MetricConfig is a single metrics configuration.
OutputConfig configures output value extraction.
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

Stage takes an existing set of labels, timestamp and log entry and returns either a possibly mutated timestamp and log entry.

# Type aliases

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.
StageFunc is modelled on http.HandlerFunc.