|
@@ -47,7 +47,7 @@ spec:
|
|
|
# topologyKey: kubernetes.io/hostname
|
|
|
containers:
|
|
|
- name: realtime-yuewen
|
|
|
- image: hub.evbj.easou.com/pro/realtime-yuewen:r181357
|
|
|
+ image: hub.evbj.easou.com/pro/realtime-yuewen:r181358
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
env:
|
|
|
- name: MY_NODE_NAME
|
|
@@ -114,6 +114,9 @@ spec:
|
|
|
- name: fluent-bit-config
|
|
|
mountPath: /opt/bitnami/fluent-bit/conf/fluent-bit.conf
|
|
|
subPath: fluent-bit.conf
|
|
|
+ - name: fluent-bit-config-parses
|
|
|
+ mountPath: /opt/bitnami/fluent-bit/conf/parsers.conf
|
|
|
+ subPath: parsers.conf
|
|
|
volumes:
|
|
|
- name: fluent-bit-config
|
|
|
configMap:
|
|
@@ -121,6 +124,13 @@ spec:
|
|
|
items:
|
|
|
- key: fluent-bit.conf
|
|
|
path: fluent-bit.conf
|
|
|
+ - name: fluent-bit-config-parses
|
|
|
+ configMap:
|
|
|
+ name: fluent-bit-config-realtime-yuewen
|
|
|
+ items:
|
|
|
+ - key: parsers.conf
|
|
|
+ path: parsers.conf
|
|
|
+
|
|
|
|
|
|
volumeClaimTemplates:
|
|
|
- metadata:
|
|
@@ -188,10 +198,7 @@ data:
|
|
|
Flush 5
|
|
|
Daemon off
|
|
|
Log_Level info
|
|
|
- [PARSER]
|
|
|
- Name multiline_pattern
|
|
|
- Format regex
|
|
|
- Regex ^\\s*$
|
|
|
+ Parsers_File /opt/bitnami/fluent-bit/conf/parsers.conf
|
|
|
[INPUT]
|
|
|
Name tail
|
|
|
Path /data/logs/app/access.log
|
|
@@ -210,3 +217,8 @@ data:
|
|
|
# for logs you'll probably want this ot be 0 or 1, not more
|
|
|
rdkafka.request.required.acks 1
|
|
|
|
|
|
+ parsers.conf: |
|
|
|
+ [PARSER]
|
|
|
+ Name multiline_pattern
|
|
|
+ Format regex
|
|
|
+ Regex ^\\s*$
|