Problem
When pushing my JSON parsed log to Cloudwatch using the single_value formatter, the log file still arrives at Cloudwatch in JSON format.
Expected Behavior or What you need to ask
<source>
@type tail
...
<parse>
@type json
time_format %Y-%m-%dT%H:%M:%S.%NZ
</parse>**
</source>
<match x>
@type cloudwatch_logs
...
<format>
@type single_value
message_key log
add_newline false
</format>
</match>
Log arrives at Cloudwatch with this format:
{
"log": "| 2021-02-03 12:47:19,501 | xxx |",
"stream": "stdout"
}
Expected format:
"| 2021-02-03 12:47:19,501 | xxx |"
Using Fluentd and CloudWatchLogs plugin versions
- Bare Metal or within Docker or Kubernetes or others? Kubernetes
- Image used: v1.7.3-debian-cloudwatch-1.0
Problem
When pushing my JSON parsed log to Cloudwatch using the single_value formatter, the log file still arrives at Cloudwatch in JSON format.
Expected Behavior or What you need to ask
Log arrives at Cloudwatch with this format:
Expected format:
Using Fluentd and CloudWatchLogs plugin versions