-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
50,925 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
423 changes: 423 additions & 0 deletions
423
fluentbit.fluent.io/clusterfluentbitconfig_v1alpha2.json
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"description": "ClusterMultilineParser is the Schema for the cluster-level multiline parser API", | ||
"properties": { | ||
"apiVersion": { | ||
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", | ||
"type": "string" | ||
}, | ||
"kind": { | ||
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", | ||
"type": "string" | ||
}, | ||
"metadata": { | ||
"type": "object" | ||
}, | ||
"spec": { | ||
"properties": { | ||
"flushTimeout": { | ||
"default": 5000, | ||
"description": "Timeout in milliseconds to flush a non-terminated multiline buffer. Default is set to 5 seconds.", | ||
"type": "integer" | ||
}, | ||
"keyContent": { | ||
"description": "For an incoming structured message, specify the key that contains the data that should be processed by the regular expression and possibly concatenated.", | ||
"type": "string" | ||
}, | ||
"parser": { | ||
"description": "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.", | ||
"type": "string" | ||
}, | ||
"rules": { | ||
"description": "Configure a rule to match a multiline pattern. The rule has a specific format described below. Multiple rules can be defined.", | ||
"items": { | ||
"properties": { | ||
"next": { | ||
"type": "string" | ||
}, | ||
"regex": { | ||
"type": "string" | ||
}, | ||
"start": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"next", | ||
"regex", | ||
"start" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"type": "array" | ||
}, | ||
"type": { | ||
"default": "regex", | ||
"description": "Set the multiline mode, for now, we support the type regex.", | ||
"enum": [ | ||
"regex" | ||
], | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"type": "object" | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
{ | ||
"description": "ClusterParser is the Schema for the cluster-level parsers API", | ||
"properties": { | ||
"apiVersion": { | ||
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", | ||
"type": "string" | ||
}, | ||
"kind": { | ||
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", | ||
"type": "string" | ||
}, | ||
"metadata": { | ||
"type": "object" | ||
}, | ||
"spec": { | ||
"description": "ParserSpec defines the desired state of ClusterParser", | ||
"properties": { | ||
"decoders": { | ||
"description": "Decoders are a built-in feature available through the Parsers file, each Parser definition can optionally set one or multiple decoders.\nThere are two type of decoders type: Decode_Field and Decode_Field_As.", | ||
"items": { | ||
"properties": { | ||
"decodeField": { | ||
"description": "If the content can be decoded in a structured message,\nappend that structure message (keys and values) to the original log message.", | ||
"type": "string" | ||
}, | ||
"decodeFieldAs": { | ||
"description": "Any content decoded (unstructured or structured) will be replaced in the same key/value,\nno extra keys are added.", | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"type": "array" | ||
}, | ||
"json": { | ||
"description": "JSON defines json parser configuration.", | ||
"properties": { | ||
"timeFormat": { | ||
"description": "Time_Format, eg. %Y-%m-%dT%H:%M:%S %z", | ||
"type": "string" | ||
}, | ||
"timeKeep": { | ||
"description": "Time_Keep", | ||
"type": "boolean" | ||
}, | ||
"timeKey": { | ||
"description": "Time_Key", | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"logfmt": { | ||
"description": "Logfmt defines logfmt parser configuration.", | ||
"type": "object" | ||
}, | ||
"ltsv": { | ||
"description": "LTSV defines ltsv parser configuration.", | ||
"properties": { | ||
"timeFormat": { | ||
"description": "Time_Format, eg. %Y-%m-%dT%H:%M:%S %z", | ||
"type": "string" | ||
}, | ||
"timeKeep": { | ||
"description": "Time_Keep", | ||
"type": "boolean" | ||
}, | ||
"timeKey": { | ||
"description": "Time_Key", | ||
"type": "string" | ||
}, | ||
"types": { | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"regex": { | ||
"description": "Regex defines regex parser configuration.", | ||
"properties": { | ||
"regex": { | ||
"type": "string" | ||
}, | ||
"timeFormat": { | ||
"description": "Time_Format, eg. %Y-%m-%dT%H:%M:%S %z", | ||
"type": "string" | ||
}, | ||
"timeKeep": { | ||
"description": "Time_Keep", | ||
"type": "boolean" | ||
}, | ||
"timeKey": { | ||
"description": "Time_Key", | ||
"type": "string" | ||
}, | ||
"timeOffset": { | ||
"description": "Time_Offset, eg. +0200", | ||
"type": "string" | ||
}, | ||
"types": { | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"type": "object" | ||
} |
Oops, something went wrong.