Is that better?
Publish event: {
"@timestamp": "2019-11-20T10:17:05.456Z",
"@metadata": {
"beat": "filebeat",
"type": "doc",
"version": "6.5.4"
},
"stream": "stderr",
"message": "12270 LOG: smtp_connection MAIN",
"docker": {
"container": {
"id": "fd5616f6c389df136cb1a5c623682fc1b8992ee2698fb7c28bb2dcad8345ced2",
"name": "smtp-cluster_smtp_1",
"image": "namshi/smtp:latest",
"labels": {
"com": {
"docker": {
"compose": {
"oneoff": "False",
"project": "smtp-cluster",
"service": "smtp",
"version": "1.24.0",
"config-hash": "1fdbecb642a6add2409edb105bb3877103205ca57ea43e82a672ffb6c46a8ee0",
"container-number": "1"
}
}
}
}
}
},
"beat": {
"version": "6.5.4",
"name": "besmtp1",
"hostname": "besmtp1"
},
"source": "/var/lib/docker/containers/fd5616f6c389df136cb1a5c623682fc1b8992ee2698fb7c28bb2dcad8345ced2/fd5616f6c389df136cb1a5c623682fc1b8992ee2698fb7c28bb2dcad8345ced2-json.log",
"tags": [
"Filebeat-smtp"
],
"input": {
"type": "docker"
},
"prospector": {
"type": "docker"
},
"host": {
"name": "besmtp1"
},
"offset": 4278353124
}
2019-11-20T10:17:06.053Z DEBUG [publish] pipeline/processor.go:308 Publish event: {
"@timestamp": "2019-11-20T10:17:05.456Z",
"@metadata": {
"beat": "filebeat",
"type": "doc",
"version": "6.5.4"
},
"offset": 4278353226,
"message": "12270 SMTP connection from [10.2.8.114] lost D=0s",
"source": "/var/lib/docker/containers/fd5616f6c389df136cb1a5c623682fc1b8992ee2698fb7c28bb2dcad8345ced2/fd5616f6c389df136cb1a5c623682fc1b8992ee2698fb7c28bb2dcad8345ced2-json.log",
"prospector": {
"type": "docker"
},
"input": {
"type": "docker"
},
"stream": "stderr",
"tags": [
"Filebeat-smtp"
],
"docker": {
"container": {
"labels": {
"com": {
"docker": {
"compose": {
"project": "smtp-cluster",
"service": "smtp",
"version": "1.24.0",
"config-hash": "1fdbecb642a6add2409edb105bb3877103205ca57ea43e82a672ffb6c46a8ee0",
"container-number": "1",
"oneoff": "False"
}
}
}
},
"id": "fd5616f6c389df136cb1a5c623682fc1b8992ee2698fb7c28bb2dcad8345ced2",
"name": "smtp-cluster_smtp_1",
"image": "namshi/smtp:latest"
}
},
"beat": {
"name": "besmtp1",
"hostname": "besmtp1",
"version": "6.5.4"
},
"host": {
"name": "besmtp1"
}
}