Hi ,
I've just tried the new version of Heartbeat (6.5.4) and specifically the autodiscover feature with Docker.
For the POC , I launched a Redis and Nginx container along with heartbeat (installed like a linux service).
Both containers have been discovered by heartbeat with the right ports (80 and 6379) but the data don't record the docker metadata like container_name, ID or image name.
In kibana , I've just found these data :
indent preformatted text by 4 spaces
{
"_index": "heartbeat-6.5.4-2019.01.04",
"_type": "doc",
"_id": "Or1rGWgBJnsBp6ZGGWZ3",
"_version": 1,
"_score": null,
"_source": {
"@timestamp": "2019-01-04T15:11:15.719Z",
"beat": {
"name": "XXXXXXXXXX",
"hostname": "XXXXXXXXXXXXXX",
"version": "6.5.4"
},
"tcp": {
"rtt": {
"connect": {
"us": 234
}
},
"port": 80
},
"monitor": {
"duration": {
"us": 353
},
"status": "up",
"host": "172.17.0.3",
"scheme": "tcp",
"id": "tcp-tcp@172.17.0.3:80",
"type": "tcp",
"name": "tcp",
"ip": "172.17.0.3"
},
"host": {
"containerized": true,
"architecture": "x86_64",
"os": {
"platform": "rhel",
"version": "7.5 (Maipo)",
"family": "",
"codename": "Maipo"
},
"name": "XXXXXXXXXXX",
"id": "d3dacd4457e5455e806326a7b6b08cc3"
}
},
"fields": {
"@timestamp": [
"2019-01-04T15:11:15.719Z"
]
},
"highlight": {
"monitor.host": [
"@kibana-highlighted-field@172.17.0.3@/kibana-highlighted-field@"
]
},
"sort": [
1546614675719
]
}
Without the docker metadata the informations are not useful and valueless.
Thank you for your help.
Eric