kibana 7.17.0
Ubuntu 20.04
The json looks like
"attempt": [
{
"responsecode": 250,
"responsendr": "2.0.0",
"transportid": "relay",
"duration": 0.50850701,
"jobid": "",
"response": "Ok: queued as E99733F212",
"tls": {
"cipher": "TLS_AES_256_GCM_SHA384",
"protocol": "TLSv1.3",
"keysize": 256
},
"state": "EOD",
"dsn": null,
"retry": 0,
}
],
While table view looks like
attempt
{
"responsecode": [
250
],
"responsendr": [
"2.0.0"
],
"transportid": [
"relay"
],
"tls.protocol": [
"TLSv1.3"
],
"tls.cipher": [
"TLS_AES_256_GCM_SHA384"
],
"finishedtime": [
"2022-02-24T09:25:25.088Z"
],
"tls.keysize": [
256
],
"duration": [
0.508507
],
"jobid": [
""
],
"response.keyword": [
"Ok: queued as E99733F212"
],
"response": [
"Ok: queued as E99733F212"
],
"state": [
"EOD"
],
"retry": [
0
]
}
Wonder why a variable-value pair is turning over to an array?
Index map is like
....
"attempt": {
"type": "nested",
"properties": {
"duration": {
"type": "float"
},
"finishedtime": {
"type": "date",
"format": "epoch_millis"
},
"jobid": {
"type": "keyword",
"ignore_above": 256
},
....
"tls": {
"properties": {
"cipher": {
"type": "keyword",
"ignore_above": 256
},
"keysize": {
"type": "short"
},
"protocol": {
"type": "keyword",
"ignore_above": 256
}
}
...
Is it by design?