LoggingSpec 🔗︎

LoggingSpec defines the desired state of Logging 🔗︎

Variable Name Type Required Default Description
loggingRef string No - Reference to the logging system. Each of the loggingRefs can manage a fluentbit daemonset and a fluentd statefulset.
flowConfigCheckDisabled bool No - Disable configuration check before applying new fluentd configuration.
flowConfigOverride string No - Override generated config. This is a raw configuration string for troubleshooting purposes.
fluentbit *FluentbitSpec No - Fluentbit daemonset configuration.
fluentd *FluentdSpec No - Fluentd statefulset configuration
defaultFlow *DefaultFlowSpec No - Default flow for unmatched logs. This Flow configuration collects all logs that didn’t matched any other Flow.
globalFilters []Filter No - Global filters to apply on logs before any match or filter mechanism.
watchNamespaces []string No - Limit namespaces to watch Flow and Output custom reasources.
controlNamespace string Yes - Namespace for cluster wide configuration resources like CLusterFlow and ClusterOutput.
This should be a protected namespace from regular users.
Resources like fluentbit and fluentd will run in this namespace as well.
allowClusterResourcesFromAllNamespaces bool No - Allow configuration of cluster resources from any namespace. Mutually exclusive with ControlNamespace restriction of Cluster resources
nodeAgents []*NodeAgent No - NodeAgent Configuration
enableRecreateWorkloadOnImmutableFieldChange bool No - EnableRecreateWorkloadOnImmutableFieldChange enables the operator to recreate the
fluentbit daemonset and the fluentd statefulset (and possibly other resource in the future)
in case there is a change in an immutable field
that otherwise couldn’t be managed with a simple update.

LoggingStatus 🔗︎

LoggingStatus defines the observed state of Logging 🔗︎

Variable Name Type Required Default Description
configCheckResults map[string]bool No -

Logging 🔗︎

Logging is the Schema for the loggings API 🔗︎

Variable Name Type Required Default Description
metav1.TypeMeta Yes -
metadata metav1.ObjectMeta No -
spec LoggingSpec No -
status LoggingStatus No -

LoggingList 🔗︎

LoggingList contains a list of Logging 🔗︎

Variable Name Type Required Default Description
metav1.TypeMeta Yes -
metadata metav1.ListMeta No -
items []Logging Yes -

DefaultFlowSpec 🔗︎

DefaultFlowSpec is a Flow for logs that did not match any other Flow 🔗︎

Variable Name Type Required Default Description
filters []Filter No -
outputRefs []string No - Deprecated
globalOutputRefs []string No -