diff --git a/component/config_forwarding.libsonnet b/component/config_forwarding.libsonnet index ca9a14e..9320d2d 100644 --- a/component/config_forwarding.libsonnet +++ b/component/config_forwarding.libsonnet @@ -161,11 +161,11 @@ local patchPipelineDefaults = { local auditPipeline = std.get(std.get(params.clusterLogForwarder, 'pipelines', {}), 'audit-logs', {}), pipelines: { - 'application-logs': { + [if !forwardingOnly then 'application-logs']: { inputRefs: [ 'application' ], outputRefs: pipelineOutputRefs(appsPipeline), }, - 'infrastructure-logs': { + [if !forwardingOnly then 'infrastructure-logs']: { inputRefs: [ 'infrastructure' ], outputRefs: pipelineOutputRefs(infraPipeline), },