Hi,
We are using heartbeat 7.9 client to dump the monitoring logs to Elasticsearch/Kibana 7.11 version.
One particular url is returning monitor.status down even though the site is up and is returning 200. This is the snippet from the heartbeat index
This is the error
"Get \"https://@kibana-highlighted-field@our-app@/kibana-highlighted-field@-prod.ourorg.org/\": dial tcp 232.323.172.39:443: i/o timeout (Client.Timeout exceeded while awaiting headers)"
The same url works from browser and it also returns 200
{
"_index": "heartbeat-2021-07-26-000004",
"_type": "_doc",
"_id": "Q9-BJH0Bx8F8PIVA4raS",
"_version": 1,
"_score": null,
"_source": {
"@timestamp": "2021-11-15T16:50:00.681Z",
"summary": {
"down": 1,
"up": 0
},
"agent": {
"hostname": "heartbeat-1-1636667288-9dd4c9847-vjr7d",
"ephemeral_id": "62577cf3-ea39-408b-8325-32ba2f31308f",
"id": "183f45b2-0787-4f13-aaa4-85dcd7a6d8cb",
"name": "heartbeat-1-1636667288-9dd4c9847-vjr7d",
"type": "heartbeat",
"version": "7.9.0"
},
"cloud": {
"account": {
"id": "63232322249"
},
"image": {
"id": "ami-0eb259e720ed9be2b"
},
"provider": "aws",
"instance": {
"id": "i-0526970d51f09a98c"
},
"machine": {
"type": "t3.large"
},
"region": "us-east-1",
"availability_zone": "us-east-1b"
},
"monitor": {
"ip": "232.323.172.39",
"status": "down",
"duration": {
"us": 30014811
},
"type": "http",
"timespan": {
"gte": "2021-11-15T16:50:00.681Z",
"lt": "2021-11-15T16:50:30.681Z"
},
"id": "auto-http-0XA0DE4A1747438F52",
"name": "our-app HTTP Status Check",
"check_group": "12a6ecc4-4634-11ec-a6e8-1ebb5eaec6b4"
},
"error": {
"type": "io",
"message": "Get \"https://our-app-prod.ourorg.org/\": dial tcp 232.323.172.39:443: i/o timeout (Client.Timeout exceeded while awaiting headers)"
},
"event": {
"dataset": "uptime"
},
"ecs": {
"version": "1.5.0"
},
"observer": {
"hostname": "heartbeat-1-1636667288-9dd4c9847-vjr7d",
"ip": [
"10.199.23.81"
],
"mac": [
"1e:bb:5e:ae:c6:b4"
]
},
"resolve": {
"ip": "232.323.172.39",
"rtt": {
"us": 14479
}
},
"url": {
"port": 443,
"path": "/",
"full": "https://ourapp-prod.ourorg.org/",
"scheme": "https",
"domain": "ourapp-prod.ourorg.org"
}
},
"fields": {
"monitor.timespan.gte": [
"2021-11-15T16:50:00.681Z"
],
"@timestamp": [
"2021-11-15T16:50:00.681Z"
],
"monitor.timespan.lt": [
"2021-11-15T16:50:30.681Z"
]
},
"highlight": {
"monitor.name": [
"@kibana-highlighted-field@our-app@/kibana-highlighted-field@ HTTP Status Check"
],
"error.message": [
"Get \"https://@kibana-highlighted-field@our-app@/kibana-highlighted-field@-prod.ourorg.org/\": dial tcp 232.323.172.39:443: i/o timeout (Client.Timeout exceeded while awaiting headers)"
],
"url.domain": [
"@kibana-highlighted-field@our-app@/kibana-highlighted-field@-prod.ourorg.org"
],
"url.full": [
"https://@kibana-highlighted-field@our-app@/kibana-highlighted-field@-prod.ourorg.org/"
]
},
"sort": [
1636995000681
]
}