[minor] ClusterLogForwarder: noise filters, multiline detection, prune-fields, and dynamic container exclusions - #532
Draft
nikitakumble wants to merge 5 commits into
Draft
[minor] ClusterLogForwarder: noise filters, multiline detection, prune-fields, and dynamic container exclusions#532nikitakumble wants to merge 5 commits into
nikitakumble wants to merge 5 commits into
Conversation
nikitakumble
marked this pull request as draft
August 10, 2026 08:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
https://jsw.ibm.com/browse/MASR-6936
Description
Enhances the ClusterLogForwarder configuration for both channel 5.9 and 6.0+ to address log ingestion cost, noise reduction, and operational flexibility in CloudWatch Logs.
Changes
Both channels (5.9 and 6.0+)
instana-agentcontainer/namespace exclusion from application log inputsruncontainer exclusion frommas-*-corenamespaceadditional_exclude_containerstemplating - operators can now list noisy container/namespace pairs in cluster-params to shut off log forwarding on demand without a code changecroncontainer frommas-*-managenamespacenoisedrop filter:BMX[A-Z0-9]+Iinfo messages[CID-CRON-…]andBMXAA8229Wmessages6.0+ only
detectMultilineExceptionfilter (detect-multiline-errors) to stitch multiline operator/pod logs into a single log record before ingestion - reduces CloudWatch cost significantlyprune-fieldsfilter to strip non-essential metadata fields, retaining only:.message,.log_type,.log_source,.kubernetes.{namespace_name, pod_name, container_name, container_image},.kubernetes.labels.{app,mas.ibm.com/instanceId}app-logs,infra-logs, andaudit-logspipelinesTesting
prodandnon-prodenvironments by syncing the CR via ArgoCD and comparing cluster logs against CloudWatch.additional_exclude_containersrender correctly in the CR and stop the respective container logs from reaching CloudWatch.Related PRs
ibm-mas/cli#2516
https://github.ibm.com/maximoappsuite/saas-tekton/pull/277
https://github.ibm.com/maximoappsuite/saas-deploy-py/pull/298