...
Fluent Bit supports various parsers to extract key value pairs from an unstructured log. For a full list of parsers, refer to the documentation here. By default, Kloudfuse will add all these key-value pairs to log facets, which can be filtered on the UI. Note that Kloudfuse cannot differentiate between these key-value pairs and any metadata fields, added by any filter other than kubernetes
and aws
. However, you can customize Kloudfuse stack by adding a list of prefix labelsinstruct Kloudfuse to track these key-value pairs as labels instead of log facets. To customize this setting, include the following section under logs-parser
section in your custom Kloudfuse’s values.yaml
Code Block |
---|
kf_parsing_config: config: |- - remap: args: kf_additional_tags: - "$.<PREFIX_KEY_FOR_AGENT_KV>" # must be JSONPath conditions: - matcher: "__kf_agent" value: "fluent-bit" op: "==" |
Info |
---|
|
...