I can create a small reproducible case for this issue.
$ ~/wc/src/github.com/reproio/columnify/columnify -recordType msgpack -schemaType avro -schemaFile nginx_access_log.avsc x.msgpack
PAR12020/05/11 17:32:33 Failed to write: reflect: call of reflect.Value.Elem on uint8 Value
$ echo $?
1
{
"name": "NginxAccessLog",
"type": "record",
"fields": [
{
"name": "container_id",
"type": "string"
},
{
"name": "container_name",
"type": "string"
},
{
"name": "source",
"type": "string"
},
{
"name": "log",
"type": "string"
},
{
"name": "__fluentd_address__",
"type": "string"
},
{
"name": "__fluentd_host__",
"type": "string"
},
{
"name": "role",
"type": "string"
},
{
"name": "host",
"type": "string"
},
{
"name": "remote_ip",
"type": "string"
},
{
"name": "request_host",
"type": "string"
},
{
"name": "user",
"type": "string"
},
{
"name": "method",
"type": "string"
},
{
"name": "path",
"type": "string"
},
{
"name": "status",
"type": "string"
},
{
"name": "size",
"type": "string"
},
{
"name": "referer",
"type": "string"
},
{
"name": "agent",
"type": "string"
},
{
"name": "duration",
"type": "string"
},
{
"name": "country_code",
"type": "string"
},
{
"name": "token_param",
"type": "string"
},
{
"name": "idfv_param",
"type": "string"
},
{
"name": "tag",
"type": "string"
},
{
"name": "time",
"type": "string"
}
]
}
I want to use msgpack format with fluent-plugin-s3
<format>section.But I cannot see
*parquetfiles on S3.I can create a small reproducible case for this issue.
single.msgpack.log
I use the following Avro schema definition: