|
62 | 62 | @id {{ $name }}{{- ternary (print "_" $currWorker) "" $multiWorkersEnabled }}
|
63 | 63 | path_key tailed_path
|
64 | 64 | path {{ $logDefinition.path | required (printf "fluentd.kubernetesSystem.logs.%s.path is required" $name) }}
|
65 |
| - pos_file {{ $.Values.fluentd.baseDir }}/oci_la_fluentd_outplugin/pos{{- ternary (print "/worker-" $currWorker) "" $multiWorkersEnabled }}/{{ $name }}.logs.pos |
| 65 | + pos_file {{ $.Values.fluentd.baseDir }}/oci_la_fluentd_outplugin/pos/{{ $name }}.logs.pos |
66 | 66 | tag oci{{- ternary (print "." $currWorker) "" $multiWorkersEnabled }}.oke.{{ $name }}.*
|
67 | 67 | read_from_head "{{ $.Values.fluentd.tailPlugin.readFromHead }}"
|
68 | 68 | {{- if $logDefinition.encoding }}
|
@@ -165,7 +165,7 @@ data:
|
165 | 165 | @id {{ $name }}{{- ternary (print "_" $currWorker) "" $multiWorkersEnabled }}
|
166 | 166 | path_key tailed_path
|
167 | 167 | path {{ $logDefinition.path | required (printf "fluentd.linuxSystem.logs.%s.path is required" $name) }}
|
168 |
| - pos_file {{ $.Values.fluentd.baseDir }}/oci_la_fluentd_outplugin/pos{{- ternary (print "/worker-" $currWorker) "" $multiWorkersEnabled }}/{{ $name }}.logs.pos |
| 168 | + pos_file {{ $.Values.fluentd.baseDir }}/oci_la_fluentd_outplugin/pos/{{ $name }}.logs.pos |
169 | 169 | tag oci{{- ternary (print "." $currWorker) "" $multiWorkersEnabled }}.oke.{{ $name }}.*
|
170 | 170 | read_from_head "{{ $.Values.fluentd.tailPlugin.readFromHead }}"
|
171 | 171 | {{- if $logDefinition.encoding }}
|
@@ -240,7 +240,7 @@ data:
|
240 | 240 | @id in_tail_syslog{{- ternary (print "_" $currWorker) "" $multiWorkersEnabled }}
|
241 | 241 | path_key tailed_path
|
242 | 242 | path {{ required "fluentd.linuxSystem.logs.syslog.path is required" $.Values.fluentd.linuxSystem.logs.syslog.path }}
|
243 |
| - pos_file {{ $.Values.fluentd.baseDir }}/oci_la_fluentd_outplugin/pos{{- ternary (print "/worker-" $currWorker) "" $multiWorkersEnabled }}/syslog.logs.pos |
| 243 | + pos_file {{ $.Values.fluentd.baseDir }}/oci_la_fluentd_outplugin/pos/syslog.logs.pos |
244 | 244 | tag oci{{- ternary (print "." $currWorker) "" $multiWorkersEnabled }}.oke.syslog.messages.**
|
245 | 245 | read_from_head "{{ $.Values.fluentd.tailPlugin.readFromHead }}"
|
246 | 246 | {{- if $.Values.fluentd.linuxSystem.logs.syslog.encoding }}
|
@@ -365,7 +365,7 @@ data:
|
365 | 365 | @id {{ $name }}{{- ternary (print "_" $currWorker) "" $multiWorkersEnabled }}
|
366 | 366 | path_key tailed_path
|
367 | 367 | path {{ $logDefinition.path | required (printf "fluentd.customLogs.%s.path is required" $name) }}
|
368 |
| - pos_file {{ $.Values.fluentd.baseDir }}/oci_la_fluentd_outplugin/pos{{- ternary (print "/worker-" $currWorker) "" $multiWorkersEnabled }}/{{ $name }}.logs.pos |
| 368 | + pos_file {{ $.Values.fluentd.baseDir }}/oci_la_fluentd_outplugin/pos/{{ $name }}.logs.pos |
369 | 369 | tag oci{{- ternary (print "." $currWorker) "" $multiWorkersEnabled }}.oke.{{ $name }}.*
|
370 | 370 | read_from_head "{{ $.Values.fluentd.tailPlugin.readFromHead }}"
|
371 | 371 | {{- if $logDefinition.encoding }}
|
@@ -463,7 +463,7 @@ data:
|
463 | 463 | @id in_tail_containerlogs{{- ternary (print "_" $currWorker) "" $multiWorkersEnabled }}
|
464 | 464 | path_key tailed_path
|
465 | 465 | path {{ required "fluentd.genericContainerLogs.path is required" $.Values.fluentd.genericContainerLogs.path }}
|
466 |
| - pos_file {{ $.Values.fluentd.baseDir }}/oci_la_fluentd_outplugin/pos{{- ternary (print "/worker-" $currWorker) "" $multiWorkersEnabled }}/containerlogs.logs.pos |
| 466 | + pos_file {{ $.Values.fluentd.baseDir }}/oci_la_fluentd_outplugin/pos/containerlogs.logs.pos |
467 | 467 | tag oci{{- ternary (print "." $currWorker) "" $multiWorkersEnabled }}.oke.containerlogs.*
|
468 | 468 | read_from_head "{{ $.Values.fluentd.tailPlugin.readFromHead }}"
|
469 | 469 | # Modify the exclude path once a specific container log config is explictly defined to avoid duplicate collection.
|
|
0 commit comments