Kubernetes plugin promotes json log field, but leaves text log field
Closed this issue · 1 comments
andykellr commented
stanza-plugins/plugins/kubernetes.yaml
Line 56 in 394b2dd
This block will promote $record.log => $
if the log field contains json.
# Attempt to parse nested JSON since the log appears to be JSON
- id: nested_json_parser
type: json_parser
parse_from: $record.log
output: container_regex_parser
However, if the log is text, the message is left at $record.log
. I think it should be promoted consistently, json or not.
jsirianni commented
I believe this was resolved