vmware / fluent-plugin-vmware-loginsight

Fluentd plugin to forward logs to VMware Aria Operations for Logs
Other
10 stars 14 forks source link

Also filter out @ from field names #9

Closed msolberg closed 4 years ago

msolberg commented 4 years ago

We ran into a situation where fluentd had a field with an @ in it. This was causing 400 errors from log insight like so:

Response Code: 400 Response Message: Response Body: {"errorMessage":"Invalid message field name"})

This resolves that issue by adding @ to the list of special characters that get substituted in the field name.

vmwclabot commented 4 years ago

@msolberg, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <john.doe@email.org> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.