Bug 1734592
Summary: | Empty fields are skipped when set SKIP_EMPTY=false and USE_MMEXTERNAL=false in rsyslog daemonset. | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Qiaoling Tang <qitang> |
Component: | Logging | Assignee: | Noriko Hosoi <nhosoi> |
Status: | CLOSED NOTABUG | QA Contact: | Qiaoling Tang <qitang> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.2.0 | CC: | aos-bugs, mburke, rmeggins |
Target Milestone: | --- | ||
Target Release: | 4.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-04 21:56:19 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Qiaoling Tang
2019-07-31 01:43:06 UTC
Tested with ose-cluster-logging-operator/images/v4.2.0-201908020219, the issue isn't fixed $ oc exec rsyslog-h22t6 -- env |grep -e SKIP -e USE -e JSON Defaulting container name to rsyslog. Use 'oc describe pod/rsyslog-h22t6 -n openshift-logging' to see all of the containers in this pod. SKIP_EMPTY=false USE_MMEXTERNAL=false MERGE_JSON_LOG=true $ oc exec rsyslog-h22t6 -- logs |grep INFO Defaulting container name to rsyslog. Use 'oc describe pod/rsyslog-h22t6 -n openshift-logging' to see all of the containers in this pod. INFO: Disabling Prometheus endpoint INFO: Disabling Prometheus endpoint INFO: Disabling Prometheus endpoint INFO: Disabling Prometheus endpoint the empty fields are skipped: "level": "info", "log-handler": "CONSOLE", "loggerClassName": "org.jboss.logmanager.Logger", "loggerName": "stdout", "message": "timer: Hello from control: 1564733597000", "offset": "6735231", "pipeline_metadata": { "collector": { "inputname": "imfile", "ipaddr4": "10.0.144.162", "ipaddr6": "::ffff:10.0.144.162", "name": "rsyslog", "original_raw_message": "{\"@version\":1,\"@timestamp\":\"2019-08-02T04:13:17.001-0400\",\"sequence\":19374,\"loggerClassName\":\"org.jboss.logmanager.Logger\",\"loggerName\":\"stdout\",\"level\":\"INFO\",\"threadName\":\"EJB default - 6\",\"message\":\"timer: Hello from control: 1564733597000\",\"threadId\":146,\"mdc\":{},\"ndc\":\"\",\"log-handler\":\"CONSOLE\"}", "received_at": "2019-08-02T08:13:17.001453+00:00", "version": "8.37.0-9.el7 " } }, "sequence": 19374, "threadId": 146, "threadName": "EJB default - 6" Bug verification blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1737286 Verified with ose-cluster-logging-operator-v4.2.0-201908061819 Can this BZ be closed? (In reply to Michael Burke from comment #6) > Can this BZ be closed? Yes, I believe so. Thanks, Michael! |