Sumo Logic collection solution for Kubernetes 🔗︎
Overview 🔗︎
More info at https://github.com/SumoLogic/sumologic-kubernetes-collection
Configuration 🔗︎
SumoLogic 🔗︎
source_category (string, optional) 🔗︎
Source Category
Default: “%{namespace}/%{pod_name}”
source_category_replace_dash (string, optional) 🔗︎
Source Category Replace Dash
Default: “/”
source_category_prefix (string, optional) 🔗︎
Source Category Prefix
Default: kubernetes/
source_name (string, optional) 🔗︎
Source Name
Default: “%{namespace}.%{pod}.%{container}”
log_format (string, optional) 🔗︎
Log Format
Default: json
source_host (string, optional) 🔗︎
Source Host
Default: "”
exclude_container_regex (string, optional) 🔗︎
Exclude Container Regex
Default: "”
exclude_facility_regex (string, optional) 🔗︎
Exclude Facility Regex
Default: "”
exclude_host_regex (string, optional) 🔗︎
Exclude Host Regex
Default: "”
exclude_namespace_regex (string, optional) 🔗︎
Exclude Namespace Regex
Default: "”
exclude_pod_regex (string, optional) 🔗︎
Exclude Pod Regex
Default: "”
exclude_priority_regex (string, optional) 🔗︎
Exclude Priority Regex
Default: "”
exclude_unit_regex (string, optional) 🔗︎
Exclude Unit Regex
Default: "”
tracing_format (*bool, optional) 🔗︎
Tracing Format
Default: false
tracing_namespace (string, optional) 🔗︎
Tracing Namespace
Default: “namespace”
tracing_pod (string, optional) 🔗︎
Tracing Pod
Default: “pod”
tracing_pod_id (string, optional) 🔗︎
Tracing Pod ID
Default: “pod_id”
tracing_container_name (string, optional) 🔗︎
Tracing Container Name
Default: “container_name”
tracing_host (string, optional) 🔗︎
Tracing Host
Default: “hostname”
tracing_label_prefix (string, optional) 🔗︎
Tracing Label Prefix
Default: “pod_label_”
tracing_annotation_prefix (string, optional) 🔗︎
Tracing Annotation Prefix
Default: “pod_annotation_”
source_host_key_name (string, optional) 🔗︎
Source HostKey Name
Default: “_sourceHost”
source_category_key_name (string, optional) 🔗︎
Source CategoryKey Name
Default: “_sourceCategory”
source_name_key_name (string, optional) 🔗︎
Source NameKey Name
Default: “_sourceName”
collector_key_name (string, optional) 🔗︎
CollectorKey Name
Default: “_collector”
collector_value (string, optional) 🔗︎
Collector Value
Default: “undefined”
Example Parser
filter configurations 🔗︎
apiVersion: logging.banzaicloud.io/v1beta1
kind: Flow
metadata:
name: demo-flow
spec:
filters:
- sumologic:
source_name: "elso"
selectors: {}
localOutputRefs:
- demo-output
Fluentd Config Result 🔗︎
<filter **>
@type kubernetes_sumologic
@id test_sumologic
source_name elso
</filter>