Blog

Monitoring Docker, OpenShift and Kubernetes - Version 5.14 - containerd, templates for indexes and sources

2 min read Back to all posts
docker kubernetes openshift splunk

Version 5.14 of our applications and Collectord is available.

Placeholders in indexes and sources

You can apply dynamic index names in the configurations to forward logs or stats to a specific index based on the meta fields. For example, you can define an index as:

ini
1[input.files]
2
3index = oc_{{openshift_namespace}}

Similarly, you can change the source of all the forwarded logs like:

ini
1[input.files]
2
3source = /{{openshift_namespace}}/{{::coalesce(openshift_daemonset_name, openshift_deployment_name, openshift_statefulset_name, openshift_cronjob_name, openshift_job_name, openshift_replicaset_name, openshift_pod_name)}}/{{openshift_pod_name}}/{{openshift_container_name}}

Support for containerd runtime

Collectord now supports Docker, CRI-O, and containerd runtimes for Kubernetes and OpenShift. Make sure to download the latest configuration for Kubernetes to be able to use the containerd runtime. New volumes have been added to reference the containerd unix socket.

Exclude fields from forwarded events

If you want to reduce the amount of fields forwarded with every event, you can set which fields you want to ignore like:

ini
1[output.splunk]
2
3excludeFields.openshift_pod_ip = true

Logs dashboard improvement

All filters also affect drop-downs in other fields. For example, selecting a cluster will filter suggestions for Pods only from the selected cluster.

You can find more information about other minor updates by following the links below.

Release notes

Upgrade instructions

Installation instructions

About Outcold Solutions

Outcold Solutions builds applications for Splunk Enterprise and Splunk Cloud. Our certified monitoring solutions, powered by Collectord, bring logs, metrics and events from Kubernetes, OpenShift and Docker clusters, Linux and macOS hosts, and Windows containers into Splunk, with the dashboards and alerts that help developers watch their applications and operators keep their clusters healthy. Our search apps query Kubernetes and AWS live from the search bar, with nothing to ingest, and OS AI Agent puts the model you choose to work inside Splunk, with each user's own permissions. Since 2017 we have been helping businesses keep what they need to answer complex questions about their infrastructure in one place.

Red Hat
Splunk
AWS