Renaming payload fails for Fluentd Monasca config
Bug #1830184 reported by
Doug Szumski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Doug Szumski | ||
Rocky |
Fix Released
|
Medium
|
Unassigned | ||
Stein |
Fix Released
|
Medium
|
Unassigned | ||
Train |
Fix Released
|
Medium
|
Doug Szumski |
Bug Description
In 00-record-
```
<filter *.**>
@type record_transformer
#enable_ruby true
<record>
message ${record[
</record>
remove_keys Payload
</filter>
```
The problem is that when the `Payload` key is removed, the `message` field is also removed, likely due to a shallow copy. If the line to remove the `Payload` field is removed, the `message` field is send to Monasca with the contents of the log message, as expected, however it also contains the `Payload` field.
Changed in kolla-ansible: | |
assignee: | nobody → Doug Szumski (dszumski) |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/660990
Review: https:/