File tree Expand file tree Collapse file tree 3 files changed +24
-13
lines changed Expand file tree Collapse file tree 3 files changed +24
-13
lines changed Original file line number Diff line number Diff line change @@ -61,28 +61,33 @@ data:
61
61
62
62
[FILTER]
63
63
Name modify
64
- Match kube.marklogic.logs.request
65
- Add tag kube.marklogic.logs.request
64
+ Match *
65
+ Add pod ${POD_NAME}
66
66
67
67
[FILTER]
68
68
Name modify
69
- Match kube.marklogic.logs.audit
70
- Add tag kube.marklogic.logs.audit
69
+ Match kube.marklogic.logs.error
70
+ Add tag kube.marklogic.logs.error
71
71
72
72
[FILTER]
73
73
Name modify
74
- Match kube.marklogic.logs.crash
75
- Add tag kube.marklogic.logs.crash
74
+ Match kube.marklogic.logs.access
75
+ Add tag kube.marklogic.logs.access
76
76
77
77
[FILTER]
78
78
Name modify
79
- Match kube.marklogic.logs.access
80
- Add tag kube.marklogic.logs.access
79
+ Match kube.marklogic.logs.request
80
+ Add tag kube.marklogic.logs.request
81
+
82
+ [FILTER]
83
+ Name modify
84
+ Match kube.marklogic.logs.audit
85
+ Add tag kube.marklogic.logs.audit
81
86
82
87
[FILTER]
83
88
Name modify
84
- Match kube.marklogic.logs.error
85
- Add tag kube.marklogic.logs.error
89
+ Match kube.marklogic.logs.crash
90
+ Add tag kube.marklogic.logs.crash
86
91
87
92
[FILTER]
88
93
Name parser
@@ -104,7 +109,8 @@ data:
104
109
Key_Name log
105
110
Parser json_parser
106
111
Reserve_Data On
107
-
112
+
113
+ # Configure export to logging backend
108
114
[OUTPUT]
109
115
Name es
110
116
Match *
Original file line number Diff line number Diff line change @@ -112,6 +112,11 @@ spec:
112
112
- name : {{ .Values.logging.configMapName }}
113
113
mountPath : /fluent-bit/etc/parsers.conf
114
114
subPath : parsers.conf
115
+ env :
116
+ - name : POD_NAME
117
+ valueFrom :
118
+ fieldRef :
119
+ fieldPath : metadata.name
115
120
{{- end }}
116
121
dnsConfig :
117
122
searches :
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ replicaCount: 1
5
5
6
6
# Marklogic image parameters
7
7
image :
8
- repository : marklogicdb /marklogic-db
9
- tag : 10.0-9.1-centos-1.0.0-ea4
8
+ repository : marklogic-centos /marklogic-server-centos
9
+ tag : 10-internal
10
10
pullPolicy : IfNotPresent
11
11
12
12
# Configure the imagePullSecret to pull the image from private repository that requires credential
You can’t perform that action at this time.
0 commit comments