File tree Expand file tree Collapse file tree 2 files changed +20
-20
lines changed Expand file tree Collapse file tree 2 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 47
47
@INCLUDE outputs.conf
48
48
49
49
inputs.conf : |
50
- {{- if .Values.logCollection.files.errorLogs }}
50
+ {{- if and .Values.logCollection .Values.logCollection.files .Values.logCollection.files.errorLogs }}
51
51
[INPUT]
52
52
Name tail
53
53
Path /var/opt/MarkLogic/Logs/*ErrorLog.txt
58
58
Mem_Buf_Limit 4MB
59
59
{{- end }}
60
60
61
- {{- if .Values.logCollection.files.accessLogs }}
61
+ {{- if and .Values.logCollection .Values.logCollection.files .Values.logCollection.files.accessLogs }}
62
62
[INPUT]
63
63
Name tail
64
64
Path /var/opt/MarkLogic/Logs/*AccessLog.txt
69
69
Mem_Buf_Limit 4MB
70
70
{{- end }}
71
71
72
- {{- if .Values.logCollection.files.requestLogs }}
72
+ {{- if and .Values.logCollection .Values.logCollection.files .Values.logCollection.files.requestLogs }}
73
73
[INPUT]
74
74
Name tail
75
75
Path /var/opt/MarkLogic/Logs/*RequestLog.txt
80
80
Mem_Buf_Limit 4MB
81
81
{{- end }}
82
82
83
- {{- if .Values.logCollection.files.crashLogs }}
83
+ {{- if and .Values.logCollection .Values.logCollection.files .Values.logCollection.files.crashLogs }}
84
84
[INPUT]
85
85
Name tail
86
86
Path /var/opt/MarkLogic/Logs/CrashLog.txt
90
90
Mem_Buf_Limit 4MB
91
91
{{- end }}
92
92
93
- {{- if .Values.logCollection.files.auditLogs }}
93
+ {{- if and .Values.logCollection .Values.logCollection.files .Values.logCollection.files.auditLogs }}
94
94
[INPUT]
95
95
Name tail
96
96
Path /var/opt/MarkLogic/Logs/AuditLog.txt
Original file line number Diff line number Diff line change @@ -306,23 +306,23 @@ readinessProbe:
306
306
# # And export them to a logging backend specified in the outputs section below
307
307
logCollection :
308
308
enabled : false
309
- image : fluent/fluent-bit:3.1.1
310
- resources :
311
- requests :
312
- cpu : " 100m"
313
- memory : " 128Mi"
314
- limits :
315
- cpu : " 100m"
316
- memory : " 128Mi"
317
- files :
318
- errorLogs : true
319
- accessLogs : true
320
- requestLogs : true
321
- crashLogs : true
322
- auditLogs : true
309
+ # image: fluent/fluent-bit:3.1.1
310
+ # resources:
311
+ # requests:
312
+ # cpu: "100m"
313
+ # memory: "128Mi"
314
+ # limits:
315
+ # cpu: "100m"
316
+ # memory: "128Mi"
317
+ # files:
318
+ # errorLogs: true
319
+ # accessLogs: true
320
+ # requestLogs: true
321
+ # crashLogs: true
322
+ # auditLogs: true
323
323
# # Configure desired output
324
324
# # Documentation on how to set up output can be found here: https://docs.fluentbit.io/manual/pipeline/outputs
325
- outputs : |-
325
+ # outputs: |-
326
326
# [OUTPUT]
327
327
# name loki
328
328
# match *
You can’t perform that action at this time.
0 commit comments