ClusterMultilineParser
fluentbit.fluent.io / v1alpha2
apiVersion: fluentbit.fluent.io/v1alpha2
kind: ClusterMultilineParser
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
flushTimeout
integer
Timeout in milliseconds to flush a non-terminated multiline buffer. Default is set to 5 seconds.
keyContent
string
For an incoming structured message, specify the key that contains the data that should be processed by the regular expression and possibly concatenated.
parser
string
Name of a pre-defined parser that must be applied to the incoming content before applying the regex rule. If no parser is defined, it's assumed that's a raw text and not a structured message.
rules []object
Configure a rule to match a multiline pattern. The rule has a specific format described below. Multiple rules can be defined.
next
string required
regex
string required
start
string required
type
string
Set the multiline mode, for now, we support the type regex.
enum:
regexNo matches. Try .spec.flushTimeout for an exact path