ClusterParser
fluentbit.fluent.io / v1alpha2
apiVersion: fluentbit.fluent.io/v1alpha2
kind: ClusterParser
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec object
ParserSpec defines the desired state of ClusterParser
decoders []object
Decoders are a built-in feature available through the Parsers file, each Parser definition can optionally set one or multiple decoders.
There are two type of decoders type: Decode_Field and Decode_Field_As.
decodeField
string
If the content can be decoded in a structured message,
append that structure message (keys and values) to the original log message.
decodeFieldAs
string
Any content decoded (unstructured or structured) will be replaced in the same key/value,
no extra keys are added.
json object
JSON defines json parser configuration.
timeFormat
string
Time_Format, eg. %Y-%m-%dT%H:%M:%S %z
timeKeep
boolean
Time_Keep
timeKey
string
Time_Key
logfmt object
Logfmt defines logfmt parser configuration.
timeFormat
string
Time_Format, eg. %Y-%m-%dT%H:%M:%S %z
timeKeep
boolean
Time_Keep
timeKey
string
Time_Key
ltsv object
LTSV defines ltsv parser configuration.
timeFormat
string
Time_Format, eg. %Y-%m-%dT%H:%M:%S %z
timeKeep
boolean
Time_Keep
timeKey
string
Time_Key
types
string
regex object
Regex defines regex parser configuration.
regex
string
timeFormat
string
Time_Format, eg. %Y-%m-%dT%H:%M:%S %z
timeKeep
boolean
Time_Keep
timeKey
string
Time_Key
timeOffset
string
Time_Offset, eg. +0200
types
string
No matches. Try .spec.decoders for an exact path