Sumo Logic collection solution for Kubernetes 🔗︎

Overview 🔗︎

More info at https://github.com/SumoLogic/sumologic-kubernetes-collection

Configuration 🔗︎

SumoLogic 🔗︎

Variable Name Type Required Default Description
source_category string No “%{namespace}/%{pod_name}” Source Category
source_category_replace_dash string No “/” Source Category Replace Dash
source_category_prefix string No kubernetes/ Source Category Prefix
source_name string No “%{namespace}.%{pod}.%{container}” Source Name
log_format string No json Log Format
source_host string No "” Source Host
exclude_container_regex string No "” Exclude Container Regex
exclude_facility_regex string No "” Exclude Facility Regex
exclude_host_regex string No "” Exclude Host Regex
exclude_namespace_regex string No "” Exclude Namespace Regex
exclude_pod_regex string No "” Exclude Pod Regex
exclude_priority_regex string No "” Exclude Priority Regex
exclude_unit_regex string No "” Exclude Unit Regex
tracing_format *bool No false Tracing Format
tracing_namespace string No “namespace” Tracing Namespace
tracing_pod string No “pod” Tracing Pod
tracing_pod_id string No “pod_id” Tracing Pod ID
tracing_container_name string No “container_name” Tracing Container Name
tracing_host string No “hostname” Tracing Host
tracing_label_prefix string No “pod_label_” Tracing Label Prefix
tracing_annotation_prefix string No “pod_annotation_” Tracing Annotation Prefix
source_host_key_name string No “_sourceHost” Source HostKey Name
source_category_key_name string No “_sourceCategory” Source CategoryKey Name
source_name_key_name string No “_sourceName” Source NameKey Name
collector_key_name string No “_collector” CollectorKey Name
collector_value string No “undefined” Collector Value

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>