DirectorySecurity AdvisoriesPricing
Sign in
Directory
newrelic-logging logoHELM

newrelic-logging

Helm chart
Last changed
Request a free trial

Contact our team to test out this Helm chart and related images for free. Please also indicate any other images you would like to evaluate.

Chart versions
Default values
Chart metadata
Images

Tag:

1
# IMPORTANT: Specify your New Relic API key here.
2
# licenseKey:
3
#
4
# Optionally, specify a cluster name and log records can
5
# be filtered by cluster.
6
# Cluster name is required to be set in order to create relationship with Daemonset entity in NR platform.
7
#
8
# cluster:
9
# or Specify secret which contains New Relic API key
10
# customSecretName: secret_name
11
# customSecretLicenseKey: secret_key
12
#
13
# The previous values can also be set as global so that they
14
# can be shared by other newrelic product's charts
15
#
16
# global:
17
# licenseKey:
18
# cluster:
19
# customSecretName:
20
# customSecretLicenseKey:
21
#
22
# IMPORTANT: if you use a kubernetes secret to specify the license,
23
# you have to manually provide the correct endpoint depending on
24
# whether your account is for the EU or JP region.
25
#
26
# endpoint: https://log-api.newrelic.com/log/v1
27
# metricsEndpoint: metric-api.newrelic.com
28
fluentBit:
29
logLevel: "info"
30
path: "/var/log/containers/*.log"
31
linuxMountPath: /var
32
windowsPath: "C:\\var\\log\\containers\\*.log"
33
db: "/var/log/flb_kube.db"
34
windowsDb: "C:\\var\\log\\flb_kube.db"
35
criEnabled: true
36
k8sBufferSize: "32k"
37
k8sLoggingExclude: "false"
38
retryLimit: 5
39
# Configuration for sending custom metrics of New relic Fluent Bit output plugin.
40
# Note: Fluent Bit's internal metrics are sent automatically and are not affected by this setting from newrelic-logging chart version 1.24.0.
41
# For more information on Fluent Bit monitoring, visit:
42
# https://docs.fluentbit.io/manual/administration/monitoring
43
sendMetrics: false
44
# Configuration for sending metrics of Fluentbit to NewRelic
45
# Allowed values are: `none`, `basic`, `advanced`
46
# none: No metrics are sent
47
# basic: Only the build info metric is sent
48
# advanced: All the metrics are sent to New Relic at 1 minute scrape interval
49
# Note: By default, the `basic` option is used.
50
fluentBitMetrics: "basic"
51
extraEnv: []
52
# extraEnv:
53
# - name: HTTPS_PROXY
54
# value: http://example.com:3128
55
# - name: METADATA_NAME
56
# valueFrom:
57
# fieldRef:
58
# fieldPath: metadata.name
59
# Helm templating is also supported
60
# - name: MY_TEMPLATIZED_ENV
61
# value: "templatization example {{ .Values.someValue }}"
62
63
# Indicates how fluent-bit database is persisted
64
persistence:
65
# Define the persistent mode for fluent-bit db, allowed options are `hostPath` (default), `none`, `persistentVolume`.
66
# - `hostPath` will use hostPath to store the db file on the node disk.
67
# - `none` will disable the fluent-bit db file, this could cause log duplication or data loss in case fluent-bit gets restarted.
68
# - `persistentVolume` will use a ReadWriteMany persistent volume to store the db file. This will override `fluentBit.db` path and use `/db/${NODE_NAME}-fb.db` file instead.
69
mode: "hostPath"
70
# In case persistence.mode is set to persistentVolume this will be needed
71
persistentVolume:
72
# The storage class should allow ReadWriteMany mode
73
storageClass:
74
# Volume and claim size.
75
size: 10Gi
76
# If dynamicProvisioning is enabled the chart will create only the PersistentVolumeClaim
77
dynamicProvisioning: true
78
# If an existingVolume is provided, we'll use it instead creating a new one
79
existingVolume:
80
# If an existingVolumeClaim is provided, we'll use it instead creating a new one
81
existingVolumeClaim:
82
# In case you need to add annotations to the created volume or claim
83
annotations:
84
volume: {}
85
claim: {}
86
# In case you need to specify any other option to your volume or claim
87
extra:
88
volume:
89
# nfs:
90
# path: /tmp/
91
# server: 1.1.1.1
92
claim: {}
93
# New Relic default configuration for fluent-bit.conf (service, inputs, filters, outputs)
94
# and parsers.conf (parsers). The configuration below is not configured for lowDataMode and will
95
# send all attributes. If custom configuration is required, update these variables.
96
config:
97
# Note that Prometheus metric collection needs the HTTP server to be online at port 2020 (see fluentBit.config.metricInstrumentation)
98
service: |
99
[SERVICE]
100
Flush 1
101
Log_Level ${LOG_LEVEL}
102
Daemon off
103
Parsers_File parsers.conf
104
HTTP_Server On
105
HTTP_Listen 0.0.0.0
106
HTTP_Port 2020
107
Health_Check On
108
inputs: |
109
[INPUT]
110
Name tail
111
Alias pod-logs-tailer
112
Tag kube.*
113
Path ${PATH}
114
multiline.parser ${LOG_PARSER}
115
DB ${FB_DB}
116
Mem_Buf_Limit 7MB
117
Skip_Long_Lines On
118
Refresh_Interval 10
119
# extraInputs: |
120
# [INPUT]
121
# Name dummy
122
# Tag dummy.log
123
filters: |
124
[FILTER]
125
Name kubernetes
126
Alias kubernetes-enricher
127
Match kube.*
128
# We need the full DNS suffix as Windows only supports resolving names with this suffix
129
# See: https://kubernetes.io/docs/setup/production-environment/windows/intro-windows-in-kubernetes/#dns-limitations
130
Kube_URL https://kubernetes.default.svc.cluster.local:443
131
Buffer_Size ${K8S_BUFFER_SIZE}
132
K8S-Logging.Exclude ${K8S_LOGGING_EXCLUDE}
133
134
[FILTER]
135
Name record_modifier
136
Alias node-attributes-enricher
137
Match *
138
Record cluster_name "${CLUSTER_NAME}"
139
# extraFilters: |
140
# [FILTER]
141
# Name grep
142
# Match *
143
# Exclude log lvl=debug*
144
lowDataModeFilters: |
145
[FILTER]
146
Name kubernetes
147
Match kube.*
148
Alias kubernetes-enricher
149
# We need the full DNS suffix as Windows only supports resolving names with this suffix
150
# See: https://kubernetes.io/docs/setup/production-environment/windows/intro-windows-in-kubernetes/#dns-limitations
151
Kube_URL https://kubernetes.default.svc.cluster.local:443
152
Buffer_Size ${K8S_BUFFER_SIZE}
153
K8S-Logging.Exclude ${K8S_LOGGING_EXCLUDE}
154
Labels Off
155
Annotations Off
156
157
[FILTER]
158
Name nest
159
Match *
160
Alias kubernetes-attribute-lifter
161
Operation lift
162
Nested_under kubernetes
163
164
[FILTER]
165
Name record_modifier
166
Match *
167
Alias node-attributes-enricher-filter
168
Record cluster_name "${CLUSTER_NAME}"
169
Allowlist_key container_name
170
Allowlist_key namespace_name
171
Allowlist_key pod_name
172
Allowlist_key stream
173
Allowlist_key message
174
Allowlist_key log
175
outputs: |
176
[OUTPUT]
177
Name newrelic
178
Match *
179
Alias newrelic-logs-forwarder
180
licenseKey ${LICENSE_KEY}
181
endpoint ${ENDPOINT}
182
lowDataMode ${LOW_DATA_MODE}
183
sendMetrics ${SEND_OUTPUT_PLUGIN_METRICS}
184
Retry_Limit ${RETRY_LIMIT}
185
# extraOutputs: |
186
# [OUTPUT]
187
# Name null
188
# Match *
189
190
# parsers: |
191
# [PARSER]
192
# Name my_custom_parser
193
# Format json
194
# Time_Key time
195
# Time_Format %Y-%m-%dT%H:%M:%S.%L
196
# Time_Keep On
197
image:
198
repository: chainguard-private/newrelic-fluent-bit-output
199
# registry: my_registry
200
tag: latest@sha256:d60f5875c7c61a42975db277765ab18923712dab852570d9c0279a0305d755f8
201
pullPolicy: IfNotPresent
202
## See https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
203
pullSecrets: []
204
registry: chainreg.biz
205
# - name: regsecret
206
207
# By default, the Linux DaemonSet will always be deployed, while the Windows DaemonSet(s) won't.
208
enableLinux: true
209
enableWindows: false
210
# For every entry in this Windows OS list, we will create an independent DaemonSet which will get deployed
211
# on Windows nodes running each specific Windows version and build number. Note that
212
# Windows containers can only be executed on hosts running the exact same Windows version and build number,
213
# because Kubernetes only supports process isolation and not Hyper-V isolation (as of September 2021)
214
windowsOsList:
215
# We aim to support (limited to LTSC2019/LTSC2022 using GitHub actions, see https://github.com/actions/runner-images/tree/main/images/win):
216
# https://kubernetes.io/docs/setup/production-environment/windows/intro-windows-in-kubernetes/#windows-os-version-support
217
- version: ltsc2019
218
imageTagSuffix: windows-ltsc-2019
219
buildNumber: 10.0.17763
220
- version: ltsc2022
221
imageTagSuffix: windows-ltsc-2022
222
buildNumber: 10.0.20348
223
# Default set of resources assigned to the DaemonSet pods
224
resources:
225
limits:
226
cpu: 500m
227
memory: 128Mi
228
requests:
229
cpu: 250m
230
memory: 64Mi
231
rbac:
232
# Specifies whether RBAC resources should be created
233
create: true
234
pspEnabled: false
235
serviceAccount:
236
# Specifies whether a ServiceAccount should be created
237
create:
238
# The name of the ServiceAccount to use.
239
# If not set and create is true, a name is generated using the fullname template
240
name:
241
# Specify any annotations to add to the ServiceAccount
242
annotations: {}
243
# Optionally configure ports to expose metrics on /api/v1/metrics/prometheus
244
# See - https://docs.fluentbit.io/manual/administration/monitoring
245
exposedPorts: []
246
# - containerPort: 2020
247
# hostPort: 2020
248
# name: metrics
249
# protocol: TCP
250
251
# If you wish to provide additional labels to apply to the pod(s), specify
252
# them here
253
# podLabels:
254
255
# Pod scheduling priority
256
# Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
257
# priorityClassName: high-priority
258
259
# Node affinity rules
260
# Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
261
#
262
# IMPORTANT #
263
# ######### #
264
# When .Values.global.fargate == true, the chart will automatically add the required affinity rules to exclude
265
# the DaemonSet from Fargate nodes. There is no need to manually touch this property achieve this.
266
# This automatic exclusion will, however, not take place if this value is overridden: Setting this to a
267
# non-empty value WHEN deploying in EKS Fargate (global.fargate == true) requires the user to manually
268
# include in their custom ruleset an exclusion for nodes with "eks.amazonaws.com/compute-type: fargate", as
269
# the New Relic DaemonSet MUST NOT be deployed on fargate nodes, as the operator takes care of injecting it
270
# as a sidecar instead.
271
# Please refer to the daemonset.yaml template for more details on how to achieve this.
272
nodeAffinity: {}
273
# Node labels for pod assignment
274
# Ref: https://kubernetes.io/docs/user-guide/node-selection/
275
# Note that the Linux DaemonSet already contains a node selector label based on their OS (kubernetes.io/os: linux).
276
nodeSelector: {}
277
# Note that the Windows DaemonSet already contains a node selector label based on their OS (kubernetes.io/os: windows).
278
# and build number (node.kubernetes.io/windows-build: {{ .buildNumber }}, to ensure that each version of the DaemonSet
279
# gets deployed only on those Windows nodes running the exact same Windows version and build number. Note that
280
# Windows containers can only be executed on hosts running the exact same Windows version and build number.
281
windowsNodeSelector: {}
282
# These are default tolerations to be able to run the New Relic Kubernetes integration.
283
tolerations:
284
- operator: "Exists"
285
effect: "NoSchedule"
286
- operator: "Exists"
287
effect: "NoExecute"
288
updateStrategy: RollingUpdate
289
# Sends data to staging, can be set as a global.
290
# global.nrStaging
291
nrStaging: false
292
daemonSet:
293
# Annotations to add to the DaemonSet.
294
annotations: {}
295
# Annotations to add to the resulting Pods of the DaemonSet.
296
podAnnotations: {}
297
# If host network should be enabled for fluentbit pods.
298
# There are some inputs like UDP which will require this setting to be true as they need to bind to the host network.
299
hostNetwork:
300
# When low data mode is enabled only minimal attributes are added to the logs. Kubernetes labels and
301
# annotations are not included. The plugin.type, plugin.version and plugin.source attributes are minified
302
# into the plugin.source attribute.
303
# Can be set as a global: global.lowDataMode
304
# lowDataMode: false
305
extraVolumes: []
306
# - name: systemdlog
307
# hostPath:
308
# path: /run/log/journal
309
310
extraVolumeMounts: []
311
# - name: systemdlog
312
# mountPath: /run/log/journal
313
314
initContainers:
315
# - name: init
316
# image: busybox
317
# command: ["sh", "-c", 'echo "hello world"']
318
windows:
319
initContainers:
320
# - name: init
321
# image: ...
322
# command: [...]
323
324
# -- Sets pod dnsConfig. Can also be configured with `global.dnsConfig`
325
dnsConfig: {}
326
# Sets the pod liveness probe.
327
# This is useful to ensure that the pod is restarted in case of issues.
328
livenessProbe:
329
enabled: true
330
initialDelaySeconds: 10
331
periodSeconds: 30
332
timeoutSeconds: 5
333
failureThreshold: 3
334

The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.