Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save justinkambic/250c1e2db2a052eec7b482ca797a0fd3 to your computer and use it in GitHub Desktop.
Save justinkambic/250c1e2db2a052eec7b482ca797a0fd3 to your computer and use it in GitHub Desktop.
duplicate HB doc result
{
"took" : 0,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 2,
"relation" : "eq"
},
"max_score" : 0.0,
"hits" : [
{
"_index" : "heartbeat-8.0.0-2020.04.13-000001",
"_id" : "Q2zmc3EBgok2osSiSNa9",
"_score" : 0.0,
"_source" : {
"@timestamp" : "2020-04-13T14:16:43.667Z",
"observer" : {
"hostname" : "Justins-MBP.fios-router.home",
"ip" : [
"fe80::aede:48ff:fe00:1122",
"fe80::94:4ea0:1c46:d477",
"192.168.1.254",
"fe80::dc20:41ff:fe6f:b9d6",
"fe80::dc20:41ff:fe6f:b9d6",
"fe80::53ad:a0b:bc2a:c40f",
"fe80::d201:ae7a:219e:d90e"
],
"mac" : [
"ac:de:48:00:11:22",
"3e:22:fb:19:bf:97",
"3c:22:fb:19:bf:97",
"0e:22:fb:19:bf:97",
"de:20:41:6f:b9:d6",
"de:20:41:6f:b9:d6",
"82:76:f7:29:4c:01",
"82:76:f7:29:4c:00",
"82:76:f7:29:4c:05",
"82:76:f7:29:4c:04",
"82:76:f7:29:4c:01"
],
"geo" : {
"name" : "harrisburg",
"location" : "37.926868, -78.024902"
}
},
"resolve" : {
"ip" : "2a04:4e42:2f::729",
"rtt" : {
"us" : 1655
}
},
"url" : {
"full" : "https://www.elastic.co",
"scheme" : "https",
"domain" : "www.elastic.co",
"port" : 443
},
"error" : {
"type" : "io",
"message" : """Get "https://www.elastic.co": dial tcp [2a04:4e42:2f::729]:443: connect: no route to host"""
},
"event" : {
"dataset" : "uptime"
},
"tls" : {
"issued_by" : "GlobalSign CloudSSL CA - SHA256 - G3",
"common_name" : "elastic.co",
"sha256" : "12 B0 0D 04 DB 0D B8 CA A3 02 BF DE 04 3E 88 F9 5B AC EB 91 E8 6A C1 43 E9 38 30 B4 BB EC 72 6D"
},
"ecs" : {
"version" : "1.5.0"
},
"agent" : {
"version" : "8.0.0",
"type" : "heartbeat",
"ephemeral_id" : "3caaba66-defd-4a08-aa8b-95ad9319fe6d",
"hostname" : "Justins-MBP.fios-router.home",
"id" : "1a78c4bf-c0e5-45ca-9c5f-39721eec5437"
},
"monitor" : {
"timespan" : {
"gte" : "2020-04-13T14:16:43.667Z",
"lt" : "2020-04-13T14:16:53.667Z"
},
"id" : "auto-http-0XA21433BFEFF64AF",
"name" : "elastic",
"check_group" : "61590298-7d91-11ea-8003-acde48001122",
"ip" : "2a04:4e42:2f::729",
"status" : "down",
"duration" : {
"us" : 130
},
"type" : "http"
},
"tags" : [
"secure"
]
}
},
{
"_index" : "heartbeat-8.0.0-2020.04.13-000001",
"_id" : "UWzmc3EBgok2osSiTdac",
"_score" : 0.0,
"_source" : {
"@timestamp" : "2020-04-13T14:16:43.667Z",
"tcp" : {
"rtt" : {
"connect" : {
"us" : 22454
}
}
},
"tls" : {
"issued_by" : "GlobalSign CloudSSL CA - SHA256 - G3",
"common_name" : "elastic.co",
"sha256" : "12 B0 0D 04 DB 0D B8 CA A3 02 BF DE 04 3E 88 F9 5B AC EB 91 E8 6A C1 43 E9 38 30 B4 BB EC 72 6D",
"rtt" : {
"handshake" : {
"us" : 61672
}
},
"certificate_not_valid_before" : "2019-08-16T01:40:25.000Z",
"certificate_not_valid_after" : "2020-07-16T03:15:39.000Z"
},
"http" : {
"response" : {
"body" : {
"hash" : "758d6d9872be23744b595ac47f9e699ca0ac3ad3e9bde73328faa7a92579a7a1",
"bytes" : 126431
},
"status_code" : 200
},
"rtt" : {
"validate" : {
"us" : 705020
},
"content" : {
"us" : 138188
},
"total" : {
"us" : 789189
},
"response_header" : {
"us" : 566832
},
"write_request" : {
"us" : 24
}
}
},
"url" : {
"domain" : "www.elastic.co",
"port" : 443,
"full" : "https://www.elastic.co",
"scheme" : "https"
},
"ecs" : {
"version" : "1.5.0"
},
"agent" : {
"hostname" : "Justins-MBP.fios-router.home",
"id" : "1a78c4bf-c0e5-45ca-9c5f-39721eec5437",
"version" : "8.0.0",
"type" : "heartbeat",
"ephemeral_id" : "3caaba66-defd-4a08-aa8b-95ad9319fe6d"
},
"monitor" : {
"type" : "http",
"timespan" : {
"gte" : "2020-04-13T14:16:43.667Z",
"lt" : "2020-04-13T14:16:53.667Z"
},
"check_group" : "61590298-7d91-11ea-8003-acde48001122",
"ip" : "151.101.202.217",
"status" : "up",
"duration" : {
"us" : 789216
},
"id" : "auto-http-0XA21433BFEFF64AF",
"name" : "elastic"
},
"resolve" : {
"ip" : "151.101.202.217",
"rtt" : {
"us" : 1655
}
},
"summary" : {
"up" : 1,
"down" : 1
},
"tags" : [
"secure"
],
"event" : {
"dataset" : "uptime"
},
"observer" : {
"ip" : [
"fe80::aede:48ff:fe00:1122",
"fe80::94:4ea0:1c46:d477",
"192.168.1.254",
"fe80::dc20:41ff:fe6f:b9d6",
"fe80::dc20:41ff:fe6f:b9d6",
"fe80::53ad:a0b:bc2a:c40f",
"fe80::d201:ae7a:219e:d90e"
],
"mac" : [
"ac:de:48:00:11:22",
"3e:22:fb:19:bf:97",
"3c:22:fb:19:bf:97",
"0e:22:fb:19:bf:97",
"de:20:41:6f:b9:d6",
"de:20:41:6f:b9:d6",
"82:76:f7:29:4c:01",
"82:76:f7:29:4c:00",
"82:76:f7:29:4c:05",
"82:76:f7:29:4c:04",
"82:76:f7:29:4c:01"
],
"geo" : {
"name" : "harrisburg",
"location" : "37.926868, -78.024902"
},
"hostname" : "Justins-MBP.fios-router.home"
}
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment