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 4747 @INCLUDE outputs.conf
4848
4949 inputs.conf : |
50- {{- if .Values.logCollection.files.errorLogs }}
50+ {{- if and .Values.logCollection .Values.logCollection.files .Values.logCollection.files.errorLogs }}
5151 [INPUT]
5252 Name tail
5353 Path /var/opt/MarkLogic/Logs/*ErrorLog.txt
5858 Mem_Buf_Limit 4MB
5959 {{- end }}
6060
61- {{- if .Values.logCollection.files.accessLogs }}
61+ {{- if and .Values.logCollection .Values.logCollection.files .Values.logCollection.files.accessLogs }}
6262 [INPUT]
6363 Name tail
6464 Path /var/opt/MarkLogic/Logs/*AccessLog.txt
6969 Mem_Buf_Limit 4MB
7070 {{- end }}
7171
72- {{- if .Values.logCollection.files.requestLogs }}
72+ {{- if and .Values.logCollection .Values.logCollection.files .Values.logCollection.files.requestLogs }}
7373 [INPUT]
7474 Name tail
7575 Path /var/opt/MarkLogic/Logs/*RequestLog.txt
8080 Mem_Buf_Limit 4MB
8181 {{- end }}
8282
83- {{- if .Values.logCollection.files.crashLogs }}
83+ {{- if and .Values.logCollection .Values.logCollection.files .Values.logCollection.files.crashLogs }}
8484 [INPUT]
8585 Name tail
8686 Path /var/opt/MarkLogic/Logs/CrashLog.txt
9090 Mem_Buf_Limit 4MB
9191 {{- end }}
9292
93- {{- if .Values.logCollection.files.auditLogs }}
93+ {{- if and .Values.logCollection .Values.logCollection.files .Values.logCollection.files.auditLogs }}
9494 [INPUT]
9595 Name tail
9696 Path /var/opt/MarkLogic/Logs/AuditLog.txt
Original file line number Diff line number Diff line change @@ -306,23 +306,23 @@ readinessProbe:
306306# # And export them to a logging backend specified in the outputs section below
307307logCollection :
308308 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
323323 # # Configure desired output
324324 # # Documentation on how to set up output can be found here: https://docs.fluentbit.io/manual/pipeline/outputs
325- outputs : |-
325+ # outputs: |-
326326 # [OUTPUT]
327327 # name loki
328328 # match *
You can’t perform that action at this time.
0 commit comments